#8F7D2B#8F7D2B
#8F7D2B is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.103 H 96.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D2B |
|---|---|
| RGB | rgb(143, 125, 43) |
| HSL | hsl(49, 54%, 36%) |
| HSV | hsv(49, 70%, 56%) |
| CMYK | cmyk(0%, 12.6%, 69.9%, 43.9%) |
| CIE-LAB | lab(52.60, -2.83, 45.38) |
| CIE-LCH | lch(52.60, 45.47, 93.57°) |
| OKLab | oklab(59.04% -0.0119 0.1019) |
| OKLCH | oklch(59.04% 0.103 96.6) |
| XYZ | xyz(19.0983, 20.6823, 5.2711) |
| Luminance | 0.2068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.31
Baby Poop
#937C00
ΔE00 3.92
Puke Brown
#947706
ΔE00 4.65
Poo
#8F7303
ΔE00 5.16
Yellowish Brown
#9B7A01
ΔE00 5.59
Diarrhea
#9F8303
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D2B #2B3D8F
analogous
#8F4B2B #8F7D2B #6F8F2B
triadic
#8F7D2B #2B8F7D #7D2B8F
tetradic
#8F7D2B #2B8F4B #2B3D8F #8F2B6F
square
#8F7D2B #2B8F4B #2B3D8F #8F2B6F
split-complementary
#8F7D2B #2B6F8F #4B2B8F
monochromatic
#312B0F #60541D #8F7D2B #BEA639 #D0BD64
Accessibility & contrast
On white
4.09
#8F7D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#8F7D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D2B
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D2B | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A20
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#9A736C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d2b; /* rgb */ color: rgb(143, 125, 43); /* oklch */ color: oklch(59.0% 0.103 96.6);
Tailwind
colors: {
custom: {
50: '#b3a269',
500: '#8f7d2b',
950: '#000000',
},
}SCSS
$custom: #8f7d2b; $custom-light: #b3a269; $custom-dark: #000000;
JSON
{
"hex": "#8f7d2b",
"rgb": {
"r": 143,
"g": 125,
"b": 43
},
"hsl": {
"h": 49.2,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.59044,
"c": 0.10262,
"h": 96.6
},
"luminance": 0.20681
}Semantic roles & 50–950 ramp
primary
#8F7D2B
secondary
#5F6FB7
accent
#65DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A