#8F9239#8F9239
#8F9239 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 63.9% C 0.112 H 111.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8F9239 |
|---|---|
| RGB | rgb(143, 146, 57) |
| HSL | hsl(62, 44%, 40%) |
| HSV | hsv(62, 61%, 57%) |
| CMYK | cmyk(2.1%, 0%, 61%, 42.7%) |
| CIE-LAB | lab(58.69, -13.34, 45.55) |
| CIE-LCH | lch(58.69, 47.47, 106.33°) |
| OKLab | oklab(63.93% -0.0401 0.1045) |
| OKLCH | oklch(63.93% 0.112 111) |
| XYZ | xyz(22.3457, 26.6933, 7.8453) |
| Luminance | 0.2669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.63
Baby Poop Green
#8F9805
ΔE00 5.21
Pea Soup
#929901
ΔE00 5.56
Camo
#7F8F4E
ΔE00 6.44
Drab
#828344
ΔE00 6.56
Dark Khaki
#9B8F55
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F9239 #3C3992
analogous
#926839 #8F9239 #639239
triadic
#8F9239 #398F92 #92398F
tetradic
#8F9239 #399268 #3C3992 #923963
square
#8F9239 #399268 #3C3992 #923963
split-complementary
#8F9239 #396392 #683992
monochromatic
#393A17 #646628 #8F9239 #B6BA4E #C8CB7A
Accessibility & contrast
On white
3.31
#8F9239 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#8F9239 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F9239
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F9239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F9239 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8C2F
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#98897F
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8f9239; /* rgb */ color: rgb(143, 146, 57); /* oklch */ color: oklch(63.9% 0.112 111.0);
Tailwind
colors: {
custom: {
50: '#b2b173',
500: '#8f9239',
950: '#000000',
},
}SCSS
$custom: #8f9239; $custom-light: #b2b173; $custom-dark: #000000;
JSON
{
"hex": "#8f9239",
"rgb": {
"r": 143,
"g": 146,
"b": 57
},
"hsl": {
"h": 62.022,
"s": 43.842,
"l": 39.804
},
"oklch": {
"l": 0.63926,
"c": 0.11193,
"h": 111
},
"luminance": 0.26693
}Semantic roles & 50–950 ramp
primary
#8F9239
secondary
#7572B4
accent
#54D459
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#111008
muted
#807F7B