#9D8622#9D8622
#9D8622 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.117 H 95.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9D8622 |
|---|---|
| RGB | rgb(157, 134, 34) |
| HSL | hsl(49, 64%, 37%) |
| HSV | hsv(49, 78%, 62%) |
| CMYK | cmyk(0%, 14.6%, 78.3%, 38.4%) |
| CIE-LAB | lab(56.42, -1.86, 53.18) |
| CIE-LCH | lch(56.42, 53.21, 92.00°) |
| OKLab | oklab(62.38% -0.0109 0.1161) |
| OKLCH | oklch(62.38% 0.117 95.4) |
| XYZ | xyz(22.7197, 24.3351, 5.0135) |
| Luminance | 0.2433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.44
Dark Mustard
#A88905
ΔE00 3.51
Baby Poop
#937C00
ΔE00 3.96
Yellowy Brown
#AE8B0C
ΔE00 4.69
Baby Poo
#AB9004
ΔE00 4.70
Baby Shit Brown
#AD900D
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D8622 #22399D
analogous
#9D4822 #9D8622 #779D22
triadic
#9D8622 #229D86 #86229D
tetradic
#9D8622 #229D48 #22399D #9D2277
square
#9D8622 #229D48 #22399D #9D2277
split-complementary
#9D8622 #22779D #48229D
monochromatic
#38300C #6B5B17 #9D8622 #CFB12D #DCC45D
Accessibility & contrast
On white
3.58
#9D8622 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#9D8622 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D8622
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D8622 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D8622 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#AA7B73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9d8622; /* rgb */ color: rgb(157, 134, 34); /* oklch */ color: oklch(62.4% 0.117 95.4);
Tailwind
colors: {
custom: {
50: '#bea866',
500: '#9d8622',
950: '#000000',
},
}SCSS
$custom: #9d8622; $custom-light: #bea866; $custom-dark: #000000;
JSON
{
"hex": "#9d8622",
"rgb": {
"r": 157,
"g": 134,
"b": 34
},
"hsl": {
"h": 48.78,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.62375,
"c": 0.11664,
"h": 95.4
},
"luminance": 0.24334
}Semantic roles & 50–950 ramp
primary
#9D8622
secondary
#5A6DC1
accent
#60E740
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A