#8F7D18#8F7D18
#8F7D18 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.114 H 98.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D18 |
|---|---|
| RGB | rgb(143, 125, 24) |
| HSL | hsl(51, 71%, 33%) |
| HSV | hsv(51, 83%, 56%) |
| CMYK | cmyk(0%, 12.6%, 83.2%, 43.9%) |
| CIE-LAB | lab(52.48, -3.71, 52.46) |
| CIE-LCH | lch(52.48, 52.59, 94.04°) |
| OKLab | oklab(58.91% -0.0164 0.1132) |
| OKLCH | oklch(58.91% 0.114 98.2) |
| XYZ | xyz(18.8272, 20.5738, 3.8434) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.11
Hazel
#8E7618
ΔE00 3.12
Puke Brown
#947706
ΔE00 3.88
Poo
#8F7303
ΔE00 4.54
Diarrhea
#9F8303
ΔE00 4.56
Yellowish Brown
#9B7A01
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D18 #182A8F
analogous
#8F4118 #8F7D18 #668F18
triadic
#8F7D18 #188F7D #7D188F
tetradic
#8F7D18 #188F41 #182A8F #8F1866
square
#8F7D18 #188F41 #182A8F #8F1866
split-complementary
#8F7D18 #18668F #41188F
monochromatic
#262106 #5B4F0F #8F7D18 #C3AB21 #DFC842
Accessibility & contrast
On white
4.11
#8F7D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8F7D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D18
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D18 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d18; /* rgb */ color: rgb(143, 125, 24); /* oklch */ color: oklch(58.9% 0.114 98.2);
Tailwind
colors: {
custom: {
50: '#b4a260',
500: '#8f7d18',
950: '#000000',
},
}SCSS
$custom: #8f7d18; $custom-light: #b4a260; $custom-dark: #000000;
JSON
{
"hex": "#8f7d18",
"rgb": {
"r": 143,
"g": 125,
"b": 24
},
"hsl": {
"h": 50.924,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.58911,
"c": 0.11434,
"h": 98.2
},
"luminance": 0.20573
}Semantic roles & 50–950 ramp
primary
#8F7D18
secondary
#4356C0
accent
#55EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79