#8F7D23#8F7D23
#8F7D23 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.108 H 97.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D23 |
|---|---|
| RGB | rgb(143, 125, 35) |
| HSL | hsl(50, 61%, 35%) |
| HSV | hsv(50, 76%, 56%) |
| CMYK | cmyk(0%, 12.6%, 75.5%, 43.9%) |
| CIE-LAB | lab(52.54, -3.26, 48.66) |
| CIE-LCH | lch(52.54, 48.77, 93.83°) |
| OKLab | oklab(58.98% -0.014 0.1073) |
| OKLCH | oklch(58.98% 0.108 97.4) |
| XYZ | xyz(18.9656, 20.6292, 4.5726) |
| Luminance | 0.2063 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.99
Hazel
#8E7618
ΔE00 3.03
Puke Brown
#947706
ΔE00 4.16
Poo
#8F7303
ΔE00 4.75
Diarrhea
#9F8303
ΔE00 5.08
Yellowish Brown
#9B7A01
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D23 #23358F
analogous
#8F4723 #8F7D23 #6B8F23
triadic
#8F7D23 #238F7D #7D238F
tetradic
#8F7D23 #238F47 #23358F #8F236B
square
#8F7D23 #238F47 #23358F #8F236B
split-complementary
#8F7D23 #236B8F #47238F
monochromatic
#2D270B #5E5217 #8F7D23 #C0A82F #D6C157
Accessibility & contrast
On white
4.10
#8F7D23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#8F7D23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D23
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D23 | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d23; /* rgb */ color: rgb(143, 125, 35); /* oklch */ color: oklch(59.0% 0.108 97.4);
Tailwind
colors: {
custom: {
50: '#b3a265',
500: '#8f7d23',
950: '#000000',
},
}SCSS
$custom: #8f7d23; $custom-light: #b3a265; $custom-dark: #000000;
JSON
{
"hex": "#8f7d23",
"rgb": {
"r": 143,
"g": 125,
"b": 35
},
"hsl": {
"h": 50,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.58979,
"c": 0.10823,
"h": 97.4
},
"luminance": 0.20628
}Semantic roles & 50–950 ramp
primary
#8F7D23
secondary
#5465BA
accent
#5FE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A