#8F7A17#8F7A17
#8F7A17 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.113 H 96.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7A17 |
|---|---|
| RGB | rgb(143, 122, 23) |
| HSL | hsl(50, 72%, 33%) |
| HSV | hsv(50, 84%, 56%) |
| CMYK | cmyk(0%, 14.7%, 83.9%, 43.9%) |
| CIE-LAB | lab(51.63, -2.06, 52.04) |
| CIE-LCH | lch(51.63, 52.08, 92.27°) |
| OKLab | oklab(58.24% -0.0118 0.112) |
| OKLCH | oklch(58.24% 0.113 96) |
| XYZ | xyz(18.4429, 19.8216, 3.6650) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.76
Baby Poop
#937C00
ΔE00 1.94
Puke Brown
#947706
ΔE00 2.72
Poo
#8F7303
ΔE00 3.22
Yellowish Brown
#9B7A01
ΔE00 4.02
Diarrhea
#9F8303
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7A17 #172C8F
analogous
#8F3E17 #8F7A17 #688F17
triadic
#8F7A17 #178F7A #7A178F
tetradic
#8F7A17 #178F3E #172C8F #8F1768
square
#8F7A17 #178F3E #172C8F #8F1768
split-complementary
#8F7A17 #17688F #3E178F
monochromatic
#262006 #5A4D0F #8F7A17 #C4A71F #E0C440
Accessibility & contrast
On white
4.23
#8F7A17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#8F7A17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7A17
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7A17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7A17 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8D7E1F
Tritanopia (blue-blind)
#9B7068
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8f7a17; /* rgb */ color: rgb(143, 122, 23); /* oklch */ color: oklch(58.2% 0.113 96.0);
Tailwind
colors: {
custom: {
50: '#b4a05f',
500: '#8f7a17',
950: '#000000',
},
}SCSS
$custom: #8f7a17; $custom-light: #b4a05f; $custom-dark: #000000;
JSON
{
"hex": "#8f7a17",
"rgb": {
"r": 143,
"g": 122,
"b": 23
},
"hsl": {
"h": 49.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.5824,
"c": 0.11265,
"h": 96
},
"luminance": 0.19821
}Semantic roles & 50–950 ramp
primary
#8F7A17
secondary
#4157C1
accent
#59EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79