#8F7928#8F7928
#8F7928 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.102 H 93.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7928 |
|---|---|
| RGB | rgb(143, 121, 40) |
| HSL | hsl(47, 56%, 36%) |
| HSV | hsv(47, 72%, 56%) |
| CMYK | cmyk(0%, 15.4%, 72%, 43.9%) |
| CIE-LAB | lab(51.46, -0.76, 45.53) |
| CIE-LCH | lch(51.46, 45.54, 90.95°) |
| OKLab | oklab(58.14% -0.0063 0.1017) |
| OKLCH | oklch(58.14% 0.102 93.6) |
| XYZ | xyz(18.5490, 19.6686, 4.8265) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.95
Puke Brown
#947706
ΔE00 3.54
Poo
#8F7303
ΔE00 3.76
Baby Poop
#937C00
ΔE00 3.92
Yellowish Brown
#9B7A01
ΔE00 4.77
Ugly Brown
#7D7103
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7928 #283E8F
analogous
#8F4528 #8F7928 #718F28
triadic
#8F7928 #288F79 #79288F
tetradic
#8F7928 #288F45 #283E8F #8F2871
square
#8F7928 #288F45 #283E8F #8F2871
split-complementary
#8F7928 #28718F #45288F
monochromatic
#2F280D #5F511B #8F7928 #BFA135 #D2BA5F
Accessibility & contrast
On white
4.26
#8F7928 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#8F7928 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7928
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7928 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#9B6F69
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8f7928; /* rgb */ color: rgb(143, 121, 40); /* oklch */ color: oklch(58.1% 0.102 93.6);
Tailwind
colors: {
custom: {
50: '#b39f67',
500: '#8f7928',
950: '#000000',
},
}SCSS
$custom: #8f7928; $custom-light: #b39f67; $custom-dark: #000000;
JSON
{
"hex": "#8f7928",
"rgb": {
"r": 143,
"g": 121,
"b": 40
},
"hsl": {
"h": 47.184,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.58136,
"c": 0.10189,
"h": 93.6
},
"luminance": 0.19668
}Semantic roles & 50–950 ramp
primary
#8F7928
secondary
#5B6FB8
accent
#69E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A