#8F7916#8F7916
#8F7916 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.112 H 95.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7916 |
|---|---|
| RGB | rgb(143, 121, 22) |
| HSL | hsl(49, 73%, 32%) |
| HSV | hsv(49, 85%, 56%) |
| CMYK | cmyk(0%, 15.4%, 84.6%, 43.9%) |
| CIE-LAB | lab(51.35, -1.53, 52.10) |
| CIE-LCH | lch(51.35, 52.12, 91.68°) |
| OKLab | oklab(58.02% -0.0104 0.1119) |
| OKLCH | oklch(58.02% 0.112 95.3) |
| XYZ | xyz(18.3109, 19.5734, 3.5725) |
| Luminance | 0.1957 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.34
Baby Poop
#937C00
ΔE00 2.06
Puke Brown
#947706
ΔE00 2.37
Poo
#8F7303
ΔE00 2.78
Yellowish Brown
#9B7A01
ΔE00 3.81
Diarrhea
#9F8303
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7916 #162C8F
analogous
#8F3D16 #8F7916 #688F16
triadic
#8F7916 #168F79 #79168F
tetradic
#8F7916 #168F3D #162C8F #8F1668
square
#8F7916 #168F3D #162C8F #8F1668
split-complementary
#8F7916 #16688F #3D168F
monochromatic
#251F06 #5A4C0E #8F7916 #C4A61E #E1C43E
Accessibility & contrast
On white
4.27
#8F7916 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#8F7916 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7916
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7916 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7916 | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#9B6F67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7916; /* rgb */ color: rgb(143, 121, 22); /* oklch */ color: oklch(58.0% 0.112 95.3);
Tailwind
colors: {
custom: {
50: '#b49f5e',
500: '#8f7916',
950: '#000000',
},
}SCSS
$custom: #8f7916; $custom-light: #b49f5e; $custom-dark: #000000;
JSON
{
"hex": "#8f7916",
"rgb": {
"r": 143,
"g": 121,
"b": 22
},
"hsl": {
"h": 49.091,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.58015,
"c": 0.11242,
"h": 95.3
},
"luminance": 0.19572
}Semantic roles & 50–950 ramp
primary
#8F7916
secondary
#3F57C1
accent
#59F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79