#9A8F2E#9A8F2E
#9A8F2E is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.116 H 102.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8F2E |
|---|---|
| RGB | rgb(154, 143, 46) |
| HSL | hsl(54, 54%, 39%) |
| HSV | hsv(54, 70%, 60%) |
| CMYK | cmyk(0%, 7.1%, 70.1%, 39.6%) |
| CIE-LAB | lab(58.71, -7.56, 50.66) |
| CIE-LCH | lch(58.71, 51.22, 98.49°) |
| OKLab | oklab(64.15% -0.0257 0.1132) |
| OKLCH | oklch(64.15% 0.116 102.8) |
| XYZ | xyz(23.6430, 26.7132, 6.4950) |
| Luminance | 0.2671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.93
Pea Soup
#929901
ΔE00 6.25
Baby Shit Brown
#AD900D
ΔE00 6.26
Baby Poop Green
#8F9805
ΔE00 6.39
Dark Khaki
#9B8F55
ΔE00 6.50
Diarrhea
#9F8303
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8F2E #2E399A
analogous
#9A592E #9A8F2E #6F9A2E
triadic
#9A8F2E #2E9A8F #8F2E9A
tetradic
#9A8F2E #2E9A59 #2E399A #9A2E6F
square
#9A8F2E #2E9A59 #2E399A #9A2E6F
split-complementary
#9A8F2E #2E6F9A #592E9A
monochromatic
#3C3712 #6B6320 #9A8F2E #C6B83F #D4CA6F
Accessibility & contrast
On white
3.31
#9A8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#9A8F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8F2E
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8F2E | 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)
#9C8A20
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#A6857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9a8f2e; /* rgb */ color: rgb(154, 143, 46); /* oklch */ color: oklch(64.1% 0.116 102.8);
Tailwind
colors: {
custom: {
50: '#bbaf6d',
500: '#9a8f2e',
950: '#000000',
},
}SCSS
$custom: #9a8f2e; $custom-light: #bbaf6d; $custom-dark: #000000;
JSON
{
"hex": "#9a8f2e",
"rgb": {
"r": 154,
"g": 143,
"b": 46
},
"hsl": {
"h": 53.889,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.64145,
"c": 0.11611,
"h": 102.8
},
"luminance": 0.26712
}Semantic roles & 50–950 ramp
primary
#9A8F2E
secondary
#6971BB
accent
#59DD4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A