#8B8F2E#8B8F2E
#8B8F2E is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.118 H 111.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8F2E |
|---|---|
| RGB | rgb(139, 143, 46) |
| HSL | hsl(62, 51%, 37%) |
| HSV | hsv(62, 68%, 56%) |
| CMYK | cmyk(2.8%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(57.40, -14.27, 48.91) |
| CIE-LCH | lch(57.40, 50.95, 106.27°) |
| OKLab | oklab(62.78% -0.0437 0.11) |
| OKLCH | oklch(62.78% 0.118 111.6) |
| XYZ | xyz(20.9637, 25.3316, 6.3694) |
| Luminance | 0.2533 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.07
Baby Poop Green
#8F9805
ΔE00 4.68
Pea Soup
#929901
ΔE00 5.12
Swamp Green
#748500
ΔE00 5.95
Olive
#808000
ΔE00 5.99
Ugly Green
#7A9703
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8F2E #322E8F
analogous
#8F632E #8B8F2E #5B8F2E
triadic
#8B8F2E #2E8B8F #8F2E8B
tetradic
#8B8F2E #2E8F63 #322E8F #8F2E5B
square
#8B8F2E #2E8F63 #322E8F #8F2E5B
split-complementary
#8B8F2E #2E5B8F #632E8F
monochromatic
#313210 #5E611F #8B8F2E #B8BD3D #CACF69
Accessibility & contrast
On white
3.46
#8B8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#8B8F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8F2E
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8F2E | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8920
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8b8f2e; /* rgb */ color: rgb(139, 143, 46); /* oklch */ color: oklch(62.8% 0.118 111.6);
Tailwind
colors: {
custom: {
50: '#b0af6d',
500: '#8b8f2e',
950: '#000000',
},
}SCSS
$custom: #8b8f2e; $custom-light: #b0af6d; $custom-dark: #000000;
JSON
{
"hex": "#8b8f2e",
"rgb": {
"r": 139,
"g": 143,
"b": 46
},
"hsl": {
"h": 62.474,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.62782,
"c": 0.11837,
"h": 111.6
},
"luminance": 0.25331
}Semantic roles & 50–950 ramp
primary
#8B8F2E
secondary
#6763B6
accent
#4DDB53
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A