#9A8A2B#9A8A2B
#9A8A2B is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.114 H 99.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8A2B |
|---|---|
| RGB | rgb(154, 138, 43) |
| HSL | hsl(51, 56%, 39%) |
| HSV | hsv(51, 72%, 60%) |
| CMYK | cmyk(0%, 10.4%, 72.1%, 39.6%) |
| CIE-LAB | lab(57.29, -5.00, 50.47) |
| CIE-LCH | lch(57.29, 50.72, 95.66°) |
| OKLab | oklab(63.01% -0.0187 0.1123) |
| OKLCH | oklch(63.01% 0.114 99.5) |
| XYZ | xyz(22.8520, 25.2225, 5.9498) |
| Luminance | 0.2522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.71
Dark Mustard
#A88905
ΔE00 5.29
Baby Poo
#AB9004
ΔE00 5.39
Baby Poop
#937C00
ΔE00 5.54
Baby Shit Brown
#AD900D
ΔE00 5.61
Yellowy Brown
#AE8B0C
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8A2B #2B3B9A
analogous
#9A522B #9A8A2B #729A2B
triadic
#9A8A2B #2B9A8A #8A2B9A
tetradic
#9A8A2B #2B9A52 #2B3B9A #9A2B72
square
#9A8A2B #2B9A52 #2B3B9A #9A2B72
split-complementary
#9A8A2B #2B729A #522B9A
monochromatic
#3A3410 #6A5F1E #9A8A2B #C8B43A #D5C66A
Accessibility & contrast
On white
3.47
#9A8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#9A8A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8A2B
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8A2B | 1.00 | 3.47 | 6.04 | 6.04 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#A68077
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9a8a2b; /* rgb */ color: rgb(154, 138, 43); /* oklch */ color: oklch(63.0% 0.114 99.5);
Tailwind
colors: {
custom: {
50: '#bbab6b',
500: '#9a8a2b',
950: '#000000',
},
}SCSS
$custom: #9a8a2b; $custom-light: #bbab6b; $custom-dark: #000000;
JSON
{
"hex": "#9a8a2b",
"rgb": {
"r": 154,
"g": 138,
"b": 43
},
"hsl": {
"h": 51.351,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.63013,
"c": 0.11384,
"h": 99.5
},
"luminance": 0.25221
}Semantic roles & 50–950 ramp
primary
#9A8A2B
secondary
#6571BC
accent
#5EE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A