#9A8D34#9A8D34
#9A8D34 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.110 H 101.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8D34 |
|---|---|
| RGB | rgb(154, 141, 52) |
| HSL | hsl(52, 50%, 40%) |
| HSV | hsv(52, 66%, 60%) |
| CMYK | cmyk(0%, 8.4%, 66.2%, 39.6%) |
| CIE-LAB | lab(58.20, -6.12, 47.57) |
| CIE-LCH | lch(58.20, 47.96, 97.33°) |
| OKLab | oklab(63.75% -0.0209 0.1077) |
| OKLCH | oklch(63.75% 0.11 101) |
| XYZ | xyz(23.4721, 26.1687, 7.0628) |
| Luminance | 0.2617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.53
Diarrhea
#9F8303
ΔE00 6.18
Baby Poo
#AB9004
ΔE00 6.19
Baby Shit Brown
#AD900D
ΔE00 6.40
Dark Mustard
#A88905
ΔE00 6.49
Baby Poop
#937C00
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8D34 #34419A
analogous
#9A5A34 #9A8D34 #749A34
triadic
#9A8D34 #349A8D #8D349A
tetradic
#9A8D34 #349A5A #34419A #9A3474
square
#9A8D34 #349A5A #34419A #9A3474
split-complementary
#9A8D34 #34749A #5A349A
monochromatic
#3E3915 #6C6325 #9A8D34 #C2B249 #D1C677
Accessibility & contrast
On white
3.37
#9A8D34 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#9A8D34 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8D34
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8D34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8D34 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8929
Deuteranopia (green-blind)
#9E8E39
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9a8d34; /* rgb */ color: rgb(154, 141, 52); /* oklch */ color: oklch(63.8% 0.110 101.0);
Tailwind
colors: {
custom: {
50: '#bbae70',
500: '#9a8d34',
950: '#000000',
},
}SCSS
$custom: #9a8d34; $custom-light: #bbae70; $custom-dark: #000000;
JSON
{
"hex": "#9a8d34",
"rgb": {
"r": 154,
"g": 141,
"b": 52
},
"hsl": {
"h": 52.353,
"s": 49.515,
"l": 40.392
},
"oklch": {
"l": 0.63754,
"c": 0.10973,
"h": 101
},
"luminance": 0.26168
}Semantic roles & 50–950 ramp
primary
#9A8D34
secondary
#7079BA
accent
#60D94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B