#8F7A2A#8F7A2A
#8F7A2A is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.4% C 0.101 H 94.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7A2A |
|---|---|
| RGB | rgb(143, 122, 42) |
| HSL | hsl(48, 55%, 36%) |
| HSV | hsv(48, 71%, 56%) |
| CMYK | cmyk(0%, 14.7%, 70.6%, 43.9%) |
| CIE-LAB | lab(51.75, -1.21, 44.96) |
| CIE-LCH | lch(51.75, 44.97, 91.54°) |
| OKLab | oklab(58.37% -0.0073 0.1009) |
| OKLCH | oklch(58.37% 0.101 94.2) |
| XYZ | xyz(18.7061, 19.9269, 5.0510) |
| Luminance | 0.1993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.35
Puke Brown
#947706
ΔE00 3.89
Baby Poop
#937C00
ΔE00 4.01
Poo
#8F7303
ΔE00 4.19
Yellowish Brown
#9B7A01
ΔE00 5.03
Ugly Brown
#7D7103
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7A2A #2A3F8F
analogous
#8F482A #8F7A2A #728F2A
triadic
#8F7A2A #2A8F7A #7A2A8F
tetradic
#8F7A2A #2A8F48 #2A3F8F #8F2A72
square
#8F7A2A #2A8F48 #2A3F8F #8F2A72
split-complementary
#8F7A2A #2A728F #482A8F
monochromatic
#30290E #60521C #8F7A2A #BEA238 #D1BA62
Accessibility & contrast
On white
4.21
#8F7A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#8F7A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7A2A
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7A2A | 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)
#87781F
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#9B706A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8f7a2a; /* rgb */ color: rgb(143, 122, 42); /* oklch */ color: oklch(58.4% 0.101 94.2);
Tailwind
colors: {
custom: {
50: '#b3a068',
500: '#8f7a2a',
950: '#000000',
},
}SCSS
$custom: #8f7a2a; $custom-light: #b3a068; $custom-dark: #000000;
JSON
{
"hex": "#8f7a2a",
"rgb": {
"r": 143,
"g": 122,
"b": 42
},
"hsl": {
"h": 47.525,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.58373,
"c": 0.10112,
"h": 94.2
},
"luminance": 0.19926
}Semantic roles & 50–950 ramp
primary
#8F7A2A
secondary
#5E70B7
accent
#69DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A