#9A8D2F#9A8D2F
#9A8D2F is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.114 H 101.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8D2F |
|---|---|
| RGB | rgb(154, 141, 47) |
| HSL | hsl(53, 53%, 39%) |
| HSV | hsv(53, 69%, 60%) |
| CMYK | cmyk(0%, 8.4%, 69.5%, 39.6%) |
| CIE-LAB | lab(58.16, -6.42, 49.69) |
| CIE-LCH | lch(58.16, 50.10, 97.36°) |
| OKLab | oklab(63.71% -0.0223 0.1114) |
| OKLCH | oklch(63.71% 0.114 101.3) |
| XYZ | xyz(23.3654, 26.1260, 6.5008) |
| Luminance | 0.2612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.78
Diarrhea
#9F8303
ΔE00 5.87
Baby Shit Brown
#AD900D
ΔE00 6.05
Dark Mustard
#A88905
ΔE00 6.17
Dark Khaki
#9B8F55
ΔE00 6.18
Baby Poop
#937C00
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8D2F #2F3C9A
analogous
#9A572F #9A8D2F #729A2F
triadic
#9A8D2F #2F9A8D #8D2F9A
tetradic
#9A8D2F #2F9A57 #2F3C9A #9A2F72
square
#9A8D2F #2F9A57 #2F3C9A #9A2F72
split-complementary
#9A8D2F #2F729A #572F9A
monochromatic
#3C3712 #6B6221 #9A8D2F #C5B541 #D3C770
Accessibility & contrast
On white
3.37
#9A8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#9A8D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8D2F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8D2F | 1.00 | 3.37 | 6.22 | 6.22 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9a8d2f; /* rgb */ color: rgb(154, 141, 47); /* oklch */ color: oklch(63.7% 0.114 101.3);
Tailwind
colors: {
custom: {
50: '#bbae6d',
500: '#9a8d2f',
950: '#000000',
},
}SCSS
$custom: #9a8d2f; $custom-light: #bbae6d; $custom-dark: #000000;
JSON
{
"hex": "#9a8d2f",
"rgb": {
"r": 154,
"g": 141,
"b": 47
},
"hsl": {
"h": 52.71,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.63709,
"c": 0.11357,
"h": 101.3
},
"luminance": 0.26125
}Semantic roles & 50–950 ramp
primary
#9A8D2F
secondary
#6A74BB
accent
#5DDD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A