diarrhea
#9F8303
Every value on this page is computed at build time from the hex code above using ChromaWell's shared, unit-tested color-core library — the same conversion, contrast, and nearest-name math used across every color page on this site, so a value here matches the same color looked up anywhere else on ChromaWell.
The conversions block gives you the same color in seven common formats (hex, RGB, HSL, HSV, CMYK, Lab, and OKLCH) so you can copy whichever your codebase or design tool expects. The contrast block applies the WCAG 2.x relative-luminance formula against several common backgrounds and reports whether text in this color would pass AA or AAA at normal and large text sizes. Shades/tints step the lightness up and down at a fixed hue and saturation; harmonies rotate the hue around the color wheel to surface complementary, analogous, triadic, and split-complementary partners; and nearest named colors ranks the closest matches from our full 1,094-color dataset by CIE76 Delta-E distance in Lab space, a perceptual distance metric rather than a raw RGB difference.
Conversions
- HEX
- #9F8303
- RGB
- rgb(159, 131, 3)
- HSL
- hsl(49.2, 96.3%, 31.8%)
- HSV
- hsv(49.2, 98.1%, 62.4%)
- CMYK
- cmyk(0, 17.6, 98.1, 37.6)
- Lab
- lab(55.7, -0.05, 60.25)
- OKLCH
- oklch(0.6181 0.126 93.7)
WCAG contrast
- On white: 3.67:1 — normal text FAIL, large text AA
- On black: 5.72:1 — normal text AA, large text AAA
- On pure white: 3.67:1 — normal text FAIL, large text AA
- On pure black: 5.72:1 — normal text AA, large text AAA
- On light gray (#F3F4F6): 3.33:1 — normal text FAIL, large text AA
- On dark slate (#1F2937): 4:1 — normal text FAIL, large text AA
Ratios computed from WCAG 2.x relative luminance; AA needs 4.5:1 for normal text and 3:1 for large text (18pt+ or 14pt+ bold), AAA needs 7:1 and 4.5:1 respectively.
Shades & tints
Lightness stepped ±15% and ±30% in HSL space at constant hue and saturation (49.2°, 96.3%) — a shade darkens toward black, a tint lightens toward white.
Color harmonies
Hue-wheel relationships computed at this color's exact hue (49.2°), holding saturation and lightness constant.
Complementary
#031F9F
rgb(3, 31, 159)
Analogous −30°
#9F3503
rgb(159, 53, 3)
Analogous +30°
#6D9F03
rgb(109, 159, 3)
Triadic 120°
#039F83
rgb(3, 159, 131)
Triadic 240°
#83039F
rgb(131, 3, 159)
Split-complementary −150°
#35039F
rgb(53, 3, 159)
Split-complementary +150°
#036D9F
rgb(3, 109, 159)
Nearest named colors
- DarkGoldenRod (ΔE 10.8)
- Olive (ΔE 13.9)
- GoldenRod (ΔE 19.4)
- Peru (ΔE 25.5)
- DarkKhaki (ΔE 28.8)
Ranked by CIE76 Delta-E distance in Lab space — the lower the number, the closer the perceptual match to this exact color.
Perceptual profile
Hue 49.2° places this color in the warm range of the wheel. At 96.3% saturation it reads as highly saturated/vivid, and at 31.8% lightness it sits dark. In OKLCH — the newer, perceptually uniform color space — this color's lightness is 0.6181, chroma 0.126, hue 93.7°, which is a more accurate predictor of how "bright" this color will look next to others than HSL lightness alone.
Use in CSS
This is a warm hue at 96.3% saturation and 31.8% lightness. Drop it into a stylesheet as a custom property:
:root {
--color-9f8303: #9F8303;
}
.el {
color: var(--color-9f8303);
}Part of the open xkcd color survey named-color set — see methodology.