#9A8D2C#9A8D2C
#9A8D2C is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.116 H 101.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8D2C |
|---|---|
| RGB | rgb(154, 141, 44) |
| HSL | hsl(53, 56%, 39%) |
| HSV | hsv(53, 71%, 60%) |
| CMYK | cmyk(0%, 8.4%, 71.4%, 39.6%) |
| CIE-LAB | lab(58.13, -6.59, 50.90) |
| CIE-LCH | lch(58.13, 51.33, 97.37°) |
| OKLab | oklab(63.68% -0.0231 0.1134) |
| OKLCH | oklch(63.68% 0.116 101.5) |
| XYZ | xyz(23.3070, 26.1026, 6.1930) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.57
Diarrhea
#9F8303
ΔE00 5.73
Baby Shit Brown
#AD900D
ΔE00 5.87
Dark Mustard
#A88905
ΔE00 6.02
Dark Khaki
#9B8F55
ΔE00 6.55
Baby Poop
#937C00
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8D2C #2C399A
analogous
#9A562C #9A8D2C #709A2C
triadic
#9A8D2C #2C9A8D #8D2C9A
tetradic
#9A8D2C #2C9A56 #2C399A #9A2C70
square
#9A8D2C #2C9A56 #2C399A #9A2C70
split-complementary
#9A8D2C #2C709A #562C9A
monochromatic
#3B3611 #6A611E #9A8D2C #C7B73C #D5C86C
Accessibility & contrast
On white
3.38
#9A8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#9A8D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8D2C
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8D2C | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 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)
#9A891D
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9a8d2c; /* rgb */ color: rgb(154, 141, 44); /* oklch */ color: oklch(63.7% 0.116 101.5);
Tailwind
colors: {
custom: {
50: '#bbae6b',
500: '#9a8d2c',
950: '#000000',
},
}SCSS
$custom: #9a8d2c; $custom-light: #bbae6b; $custom-dark: #000000;
JSON
{
"hex": "#9a8d2c",
"rgb": {
"r": 154,
"g": 141,
"b": 44
},
"hsl": {
"h": 52.909,
"s": 55.556,
"l": 38.824
},
"oklch": {
"l": 0.63684,
"c": 0.11572,
"h": 101.5
},
"luminance": 0.26102
}Semantic roles & 50–950 ramp
primary
#9A8D2C
secondary
#6670BC
accent
#5BDF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A