#8F7D34#8F7D34
#8F7D34 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.095 H 95.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D34 |
|---|---|
| RGB | rgb(143, 125, 52) |
| HSL | hsl(48, 47%, 38%) |
| HSV | hsv(48, 64%, 56%) |
| CMYK | cmyk(0%, 12.6%, 63.6%, 43.9%) |
| CIE-LAB | lab(52.68, -2.25, 41.31) |
| CIE-LCH | lch(52.68, 41.37, 93.11°) |
| OKLab | oklab(59.14% -0.0091 0.0948) |
| OKLCH | oklch(59.14% 0.095 95.5) |
| XYZ | xyz(19.2820, 20.7557, 6.2388) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.08
Baby Poop
#937C00
ΔE00 5.20
Puke Brown
#947706
ΔE00 5.51
Poo
#8F7303
ΔE00 5.92
Yellowish Brown
#9B7A01
ΔE00 6.39
Diarrhea
#9F8303
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D34 #34468F
analogous
#8F4F34 #8F7D34 #738F34
triadic
#8F7D34 #348F7D #7D348F
tetradic
#8F7D34 #348F4F #34468F #8F3473
square
#8F7D34 #348F4F #34468F #8F3473
split-complementary
#8F7D34 #34738F #4F348F
monochromatic
#352F13 #625624 #8F7D34 #BBA445 #CCBA72
Accessibility & contrast
On white
4.08
#8F7D34 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8F7D34 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D34
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D34 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A2C
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#9A746D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8f7d34; /* rgb */ color: rgb(143, 125, 52); /* oklch */ color: oklch(59.1% 0.095 95.5);
Tailwind
colors: {
custom: {
50: '#b2a26f',
500: '#8f7d34',
950: '#000000',
},
}SCSS
$custom: #8f7d34; $custom-light: #b2a26f; $custom-dark: #000000;
JSON
{
"hex": "#8f7d34",
"rgb": {
"r": 143,
"g": 125,
"b": 52
},
"hsl": {
"h": 48.132,
"s": 46.667,
"l": 38.235
},
"oklch": {
"l": 0.59135,
"c": 0.09521,
"h": 95.5
},
"luminance": 0.20755
}Semantic roles & 50–950 ramp
primary
#8F7D34
secondary
#6B79B4
accent
#6CD651
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A