#8F7A2B#8F7A2B
#8F7A2B is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.4% C 0.100 H 94.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7A2B |
|---|---|
| RGB | rgb(143, 122, 43) |
| HSL | hsl(47, 54%, 36%) |
| HSV | hsv(47, 70%, 56%) |
| CMYK | cmyk(0%, 14.7%, 69.9%, 43.9%) |
| CIE-LAB | lab(51.76, -1.15, 44.52) |
| CIE-LCH | lch(51.76, 44.53, 91.48°) |
| OKLab | oklab(58.38% -0.0071 0.1001) |
| OKLCH | oklch(58.38% 0.1 94) |
| XYZ | xyz(18.7242, 19.9341, 5.1465) |
| Luminance | 0.1993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.45
Puke Brown
#947706
ΔE00 3.99
Baby Poop
#937C00
ΔE00 4.15
Poo
#8F7303
ΔE00 4.28
Yellowish Brown
#9B7A01
ΔE00 5.12
Ugly Brown
#7D7103
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7A2B #2B408F
analogous
#8F482B #8F7A2B #728F2B
triadic
#8F7A2B #2B8F7A #7A2B8F
tetradic
#8F7A2B #2B8F48 #2B408F #8F2B72
square
#8F7A2B #2B8F48 #2B408F #8F2B72
split-complementary
#8F7A2B #2B728F #482B8F
monochromatic
#312A0F #60521D #8F7A2B #BEA239 #D0BA64
Accessibility & contrast
On white
4.21
#8F7A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#8F7A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7A2B
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7A2B | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#9B706A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8f7a2b; /* rgb */ color: rgb(143, 122, 43); /* oklch */ color: oklch(58.4% 0.100 94.0);
Tailwind
colors: {
custom: {
50: '#b3a069',
500: '#8f7a2b',
950: '#000000',
},
}SCSS
$custom: #8f7a2b; $custom-light: #b3a069; $custom-dark: #000000;
JSON
{
"hex": "#8f7a2b",
"rgb": {
"r": 143,
"g": 122,
"b": 43
},
"hsl": {
"h": 47.4,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.58382,
"c": 0.10036,
"h": 94
},
"luminance": 0.19933
}Semantic roles & 50–950 ramp
primary
#8F7A2B
secondary
#5F72B7
accent
#69DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A