#8F7F2A#8F7F2A
#8F7F2A is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.105 H 98.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7F2A |
|---|---|
| RGB | rgb(143, 127, 42) |
| HSL | hsl(50, 55%, 36%) |
| HSV | hsv(50, 71%, 56%) |
| CMYK | cmyk(0%, 11.2%, 70.6%, 43.9%) |
| CIE-LAB | lab(53.15, -4.01, 46.38) |
| CIE-LCH | lch(53.15, 46.56, 94.94°) |
| OKLab | oklab(59.48% -0.0153 0.1039) |
| OKLCH | oklch(59.48% 0.105 98.4) |
| XYZ | xyz(19.3359, 21.1865, 5.2610) |
| Luminance | 0.2119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.96
Hazel
#8E7618
ΔE00 4.03
Puke Brown
#947706
ΔE00 5.20
Diarrhea
#9F8303
ΔE00 5.58
Poo
#8F7303
ΔE00 5.82
Olive
#808000
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7F2A #2A3A8F
analogous
#8F4D2A #8F7F2A #6D8F2A
triadic
#8F7F2A #2A8F7F #7F2A8F
tetradic
#8F7F2A #2A8F4D #2A3A8F #8F2A6D
square
#8F7F2A #2A8F4D #2A3A8F #8F2A6D
split-complementary
#8F7F2A #2A6D8F #4D2A8F
monochromatic
#302B0E #60551C #8F7F2A #BEA938 #D1BF62
Accessibility & contrast
On white
4.01
#8F7F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8F7F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7F2A
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7F2A | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#9A756E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f7f2a; /* rgb */ color: rgb(143, 127, 42); /* oklch */ color: oklch(59.5% 0.105 98.4);
Tailwind
colors: {
custom: {
50: '#b3a369',
500: '#8f7f2a',
950: '#000000',
},
}SCSS
$custom: #8f7f2a; $custom-light: #b3a369; $custom-dark: #000000;
JSON
{
"hex": "#8f7f2a",
"rgb": {
"r": 143,
"g": 127,
"b": 42
},
"hsl": {
"h": 50.495,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.5948,
"c": 0.105,
"h": 98.4
},
"luminance": 0.21186
}Semantic roles & 50–950 ramp
primary
#8F7F2A
secondary
#5E6CB7
accent
#61DE4A
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A