#8F8F2E#8F8F2E
#8F8F2E is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.117 H 109.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8F2E |
|---|---|
| RGB | rgb(143, 143, 46) |
| HSL | hsl(60, 51%, 37%) |
| HSV | hsv(60, 68%, 56%) |
| CMYK | cmyk(0%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(57.73, -12.49, 49.36) |
| CIE-LCH | lch(57.73, 50.92, 104.20°) |
| OKLab | oklab(63.13% -0.0389 0.1109) |
| OKLCH | oklch(63.13% 0.117 109.3) |
| XYZ | xyz(21.6440, 25.6824, 6.4013) |
| Luminance | 0.2568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.66
Baby Poop Green
#8F9805
ΔE00 4.74
Pea Soup
#929901
ΔE00 5.02
Olive
#808000
ΔE00 6.00
Swamp Green
#748500
ΔE00 6.74
Drab
#828344
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8F2E #2E2E8F
analogous
#8F5F2E #8F8F2E #5F8F2E
triadic
#8F8F2E #2E8F8F #8F2E8F
tetradic
#8F8F2E #2E8F5F #2E2E8F #8F2E5F
square
#8F8F2E #2E8F5F #2E2E8F #8F2E5F
split-complementary
#8F8F2E #2E5F8F #5F2E8F
monochromatic
#323210 #61611F #8F8F2E #BDBD3D #CFCF69
Accessibility & contrast
On white
3.42
#8F8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#8F8F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8F2E
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8F2E | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8920
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8f8f2e; /* rgb */ color: rgb(143, 143, 46); /* oklch */ color: oklch(63.1% 0.117 109.3);
Tailwind
colors: {
custom: {
50: '#b3af6d',
500: '#8f8f2e',
950: '#000000',
},
}SCSS
$custom: #8f8f2e; $custom-light: #b3af6d; $custom-dark: #000000;
JSON
{
"hex": "#8f8f2e",
"rgb": {
"r": 143,
"g": 143,
"b": 46
},
"hsl": {
"h": 60,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.63134,
"c": 0.11748,
"h": 109.3
},
"luminance": 0.25682
}Semantic roles & 50–950 ramp
primary
#8F8F2E
secondary
#6363B6
accent
#4DDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A