#8F7D2A#8F7D2A
#8F7D2A is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.103 H 96.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D2A |
|---|---|
| RGB | rgb(143, 125, 42) |
| HSL | hsl(49, 55%, 36%) |
| HSV | hsv(49, 71%, 56%) |
| CMYK | cmyk(0%, 12.6%, 70.6%, 43.9%) |
| CIE-LAB | lab(52.59, -2.89, 45.81) |
| CIE-LCH | lch(52.59, 45.90, 93.61°) |
| OKLab | oklab(59.04% -0.0122 0.1027) |
| OKLCH | oklch(59.04% 0.103 96.8) |
| XYZ | xyz(19.0801, 20.6750, 5.1757) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.25
Baby Poop
#937C00
ΔE00 3.79
Puke Brown
#947706
ΔE00 4.57
Poo
#8F7303
ΔE00 5.09
Yellowish Brown
#9B7A01
ΔE00 5.52
Diarrhea
#9F8303
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D2A #2A3C8F
analogous
#8F4B2A #8F7D2A #6F8F2A
triadic
#8F7D2A #2A8F7D #7D2A8F
tetradic
#8F7D2A #2A8F4B #2A3C8F #8F2A6F
square
#8F7D2A #2A8F4B #2A3C8F #8F2A6F
split-complementary
#8F7D2A #2A6F8F #4B2A8F
monochromatic
#302A0E #60541C #8F7D2A #BEA638 #D1BD62
Accessibility & contrast
On white
4.09
#8F7D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#8F7D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D2A
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D2A | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A1F
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#9A736C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d2a; /* rgb */ color: rgb(143, 125, 42); /* oklch */ color: oklch(59.0% 0.103 96.8);
Tailwind
colors: {
custom: {
50: '#b3a269',
500: '#8f7d2a',
950: '#000000',
},
}SCSS
$custom: #8f7d2a; $custom-light: #b3a269; $custom-dark: #000000;
JSON
{
"hex": "#8f7d2a",
"rgb": {
"r": 143,
"g": 125,
"b": 42
},
"hsl": {
"h": 49.307,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.59036,
"c": 0.10338,
"h": 96.8
},
"luminance": 0.20674
}Semantic roles & 50–950 ramp
primary
#8F7D2A
secondary
#5E6EB7
accent
#64DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A