#8F7932#8F7932
#8F7932 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.2% C 0.094 H 92.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7932 |
|---|---|
| RGB | rgb(143, 121, 50) |
| HSL | hsl(46, 48%, 38%) |
| HSV | hsv(46, 65%, 56%) |
| CMYK | cmyk(0%, 15.4%, 65%, 43.9%) |
| CIE-LAB | lab(51.55, -0.13, 41.03) |
| CIE-LCH | lch(51.55, 41.03, 90.19°) |
| OKLab | oklab(58.23% -0.0032 0.0939) |
| OKLCH | oklch(58.23% 0.094 92) |
| XYZ | xyz(18.7417, 19.7457, 5.8411) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.33
Puke Brown
#947706
ΔE00 4.82
Poo
#8F7303
ΔE00 4.95
Baby Poop
#937C00
ΔE00 5.43
Yellowish Brown
#9B7A01
ΔE00 5.85
Ugly Brown
#7D7103
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7932 #32488F
analogous
#8F4A32 #8F7932 #778F32
triadic
#8F7932 #328F79 #79328F
tetradic
#8F7932 #328F4A #32488F #8F3277
square
#8F7932 #328F4A #32488F #8F3277
split-complementary
#8F7932 #32778F #4A328F
monochromatic
#342C12 #625322 #8F7932 #BC9F42 #CDB66F
Accessibility & contrast
On white
4.24
#8F7932 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8F7932 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7932
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7932 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86772A
Deuteranopia (green-blind)
#8B7E35
Tritanopia (blue-blind)
#9A706A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8f7932; /* rgb */ color: rgb(143, 121, 50); /* oklch */ color: oklch(58.2% 0.094 92.0);
Tailwind
colors: {
custom: {
50: '#b39f6d',
500: '#8f7932',
950: '#000000',
},
}SCSS
$custom: #8f7932; $custom-light: #b39f6d; $custom-dark: #000000;
JSON
{
"hex": "#8f7932",
"rgb": {
"r": 143,
"g": 121,
"b": 50
},
"hsl": {
"h": 45.806,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.58233,
"c": 0.09394,
"h": 92
},
"luminance": 0.19745
}Semantic roles & 50–950 ramp
primary
#8F7932
secondary
#687AB4
accent
#70D850
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A