#9A8A24#9A8A24
#9A8A24 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.118 H 100.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8A24 |
|---|---|
| RGB | rgb(154, 138, 36) |
| HSL | hsl(52, 62%, 37%) |
| HSV | hsv(52, 77%, 60%) |
| CMYK | cmyk(0%, 10.4%, 76.6%, 39.6%) |
| CIE-LAB | lab(57.25, -5.34, 53.12) |
| CIE-LCH | lch(57.25, 53.39, 95.74°) |
| OKLab | oklab(62.96% -0.0204 0.1165) |
| OKLCH | oklch(62.96% 0.118 100) |
| XYZ | xyz(22.7344, 25.1755, 5.3306) |
| Luminance | 0.2517 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.37
Baby Poo
#AB9004
ΔE00 4.95
Dark Mustard
#A88905
ΔE00 4.96
Baby Shit Brown
#AD900D
ΔE00 5.25
Baby Poop
#937C00
ΔE00 5.29
Yellowy Brown
#AE8B0C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8A24 #24349A
analogous
#9A4F24 #9A8A24 #6F9A24
triadic
#9A8A24 #249A8A #8A249A
tetradic
#9A8A24 #249A4F #24349A #9A246F
square
#9A8A24 #249A4F #24349A #9A246F
split-complementary
#9A8A24 #246F9A #4F249A
monochromatic
#37310D #685E18 #9A8A24 #CCB630 #DAC95F
Accessibility & contrast
On white
3.48
#9A8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#9A8A24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8A24
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8A24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8A24 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988610
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#A67F76
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9a8a24; /* rgb */ color: rgb(154, 138, 36); /* oklch */ color: oklch(63.0% 0.118 100.0);
Tailwind
colors: {
custom: {
50: '#bbab67',
500: '#9a8a24',
950: '#000000',
},
}SCSS
$custom: #9a8a24; $custom-light: #bbab67; $custom-dark: #000000;
JSON
{
"hex": "#9a8a24",
"rgb": {
"r": 154,
"g": 138,
"b": 36
},
"hsl": {
"h": 51.864,
"s": 62.105,
"l": 37.255
},
"oklch": {
"l": 0.62963,
"c": 0.11832,
"h": 100
},
"luminance": 0.25174
}Semantic roles & 50–950 ramp
primary
#9A8A24
secondary
#5B69BF
accent
#59E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A