#8F7E2A#8F7E2A
#8F7E2A is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.104 H 97.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7E2A |
|---|---|
| RGB | rgb(143, 126, 42) |
| HSL | hsl(50, 55%, 36%) |
| HSV | hsv(50, 71%, 56%) |
| CMYK | cmyk(0%, 11.9%, 70.6%, 43.9%) |
| CIE-LAB | lab(52.87, -3.45, 46.10) |
| CIE-LCH | lch(52.87, 46.23, 94.28°) |
| OKLab | oklab(59.26% -0.0138 0.1033) |
| OKLCH | oklch(59.26% 0.104 97.6) |
| XYZ | xyz(19.2074, 20.9295, 5.2181) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.63
Baby Poop
#937C00
ΔE00 3.84
Puke Brown
#947706
ΔE00 4.88
Poo
#8F7303
ΔE00 5.45
Diarrhea
#9F8303
ΔE00 5.58
Yellowish Brown
#9B7A01
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7E2A #2A3B8F
analogous
#8F4C2A #8F7E2A #6E8F2A
triadic
#8F7E2A #2A8F7E #7E2A8F
tetradic
#8F7E2A #2A8F4C #2A3B8F #8F2A6E
square
#8F7E2A #2A8F4C #2A3B8F #8F2A6E
split-complementary
#8F7E2A #2A6E8F #4C2A8F
monochromatic
#302B0E #60541C #8F7E2A #BEA838 #D1BE62
Accessibility & contrast
On white
4.05
#8F7E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8F7E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7E2A
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7E2A | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1E
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#9A746D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8f7e2a; /* rgb */ color: rgb(143, 126, 42); /* oklch */ color: oklch(59.3% 0.104 97.6);
Tailwind
colors: {
custom: {
50: '#b3a369',
500: '#8f7e2a',
950: '#000000',
},
}SCSS
$custom: #8f7e2a; $custom-light: #b3a369; $custom-dark: #000000;
JSON
{
"hex": "#8f7e2a",
"rgb": {
"r": 143,
"g": 126,
"b": 42
},
"hsl": {
"h": 49.901,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.59257,
"c": 0.10417,
"h": 97.6
},
"luminance": 0.20929
}Semantic roles & 50–950 ramp
primary
#8F7E2A
secondary
#5E6DB7
accent
#63DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A