#8F8239#8F8239
#8F8239 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.095 H 99.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8239 |
|---|---|
| RGB | rgb(143, 130, 57) |
| HSL | hsl(51, 43%, 39%) |
| HSV | hsv(51, 60%, 56%) |
| CMYK | cmyk(0%, 9.1%, 60.1%, 43.9%) |
| CIE-LAB | lab(54.13, -4.66, 40.50) |
| CIE-LCH | lch(54.13, 40.76, 96.57°) |
| OKLab | oklab(60.3% -0.0154 0.0937) |
| OKLCH | oklch(60.3% 0.095 99.3) |
| XYZ | xyz(20.0496, 22.1011, 7.0799) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.15
Dark Khaki
#9B8F55
ΔE00 5.61
Hazel
#8E7618
ΔE00 5.98
Baby Poop
#937C00
ΔE00 6.21
Olive
#808000
ΔE00 6.79
Diarrhea
#9F8303
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8239 #39468F
analogous
#8F5739 #8F8239 #718F39
triadic
#8F8239 #398F82 #82398F
tetradic
#8F8239 #398F57 #39468F #8F3971
square
#8F8239 #398F57 #39468F #8F3971
split-complementary
#8F8239 #39718F #57398F
monochromatic
#373216 #635A28 #8F8239 #B8A84D #CABD79
Accessibility & contrast
On white
3.87
#8F8239 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#8F8239 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8239
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8239 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7F31
Deuteranopia (green-blind)
#91843D
Tritanopia (blue-blind)
#997972
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8f8239; /* rgb */ color: rgb(143, 130, 57); /* oklch */ color: oklch(60.3% 0.095 99.3);
Tailwind
colors: {
custom: {
50: '#b2a672',
500: '#8f8239',
950: '#000000',
},
}SCSS
$custom: #8f8239; $custom-light: #b2a672; $custom-dark: #000000;
JSON
{
"hex": "#8f8239",
"rgb": {
"r": 143,
"g": 130,
"b": 57
},
"hsl": {
"h": 50.93,
"s": 43,
"l": 39.216
},
"oklch": {
"l": 0.60302,
"c": 0.09498,
"h": 99.3
},
"luminance": 0.221
}Semantic roles & 50–950 ramp
primary
#8F8239
secondary
#717BB3
accent
#68D355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B