#9A8F2A#9A8F2A
#9A8F2A is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.119 H 103.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8F2A |
|---|---|
| RGB | rgb(154, 143, 42) |
| HSL | hsl(54, 57%, 38%) |
| HSV | hsv(54, 73%, 60%) |
| CMYK | cmyk(0%, 7.1%, 72.7%, 39.6%) |
| CIE-LAB | lab(58.68, -7.78, 52.23) |
| CIE-LCH | lch(58.68, 52.81, 98.47°) |
| OKLab | oklab(64.11% -0.0267 0.1158) |
| OKLCH | oklch(64.11% 0.119 103) |
| XYZ | xyz(23.5678, 26.6831, 6.0990) |
| Luminance | 0.2668 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.69
Pea Soup
#929901
ΔE00 6.00
Baby Shit Brown
#AD900D
ΔE00 6.06
Baby Poop Green
#8F9805
ΔE00 6.17
Diarrhea
#9F8303
ΔE00 6.35
Dark Mustard
#A88905
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8F2A #2A359A
analogous
#9A572A #9A8F2A #6D9A2A
triadic
#9A8F2A #2A9A8F #8F2A9A
tetradic
#9A8F2A #2A9A57 #2A359A #9A2A6D
square
#9A8F2A #2A9A57 #2A359A #9A2A6D
split-complementary
#9A8F2A #2A6D9A #572A9A
monochromatic
#3A3610 #6A621D #9A8F2A #C9BB38 #D6CB68
Accessibility & contrast
On white
3.31
#9A8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#9A8F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8F2A
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8F2A | 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)
#9C8A19
Deuteranopia (green-blind)
#A08F31
Tritanopia (blue-blind)
#A6857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9a8f2a; /* rgb */ color: rgb(154, 143, 42); /* oklch */ color: oklch(64.1% 0.119 103.0);
Tailwind
colors: {
custom: {
50: '#bbaf6b',
500: '#9a8f2a',
950: '#000000',
},
}SCSS
$custom: #9a8f2a; $custom-light: #bbaf6b; $custom-dark: #000000;
JSON
{
"hex": "#9a8f2a",
"rgb": {
"r": 154,
"g": 143,
"b": 42
},
"hsl": {
"h": 54.107,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.64113,
"c": 0.11887,
"h": 103
},
"luminance": 0.26682
}Semantic roles & 50–950 ramp
primary
#9A8F2A
secondary
#636CBC
accent
#56E047
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A