#9E822B#9E822B
#9E822B is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.7% C 0.109 H 90.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9E822B |
|---|---|
| RGB | rgb(158, 130, 43) |
| HSL | hsl(45, 57%, 39%) |
| HSV | hsv(45, 73%, 62%) |
| CMYK | cmyk(0%, 17.7%, 72.8%, 38%) |
| CIE-LAB | lab(55.49, 1.24, 48.81) |
| CIE-LCH | lch(55.49, 48.82, 88.54°) |
| OKLab | oklab(61.68% -0.0012 0.1086) |
| OKLCH | oklch(61.68% 0.109 90.6) |
| XYZ | xyz(22.5205, 23.4101, 5.6175) |
| Luminance | 0.2341 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.45
Yellowish Brown
#9B7A01
ΔE00 3.93
Baby Poop
#937C00
ΔE00 4.41
Dark Mustard
#A88905
ΔE00 4.61
Puke Brown
#947706
ΔE00 4.62
Hazel
#8E7618
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E822B #2B479E
analogous
#9E482B #9E822B #819E2B
triadic
#9E822B #2B9E82 #822B9E
tetradic
#9E822B #2B9E48 #2B479E #9E2B81
square
#9E822B #2B9E48 #2B479E #9E2B81
split-complementary
#9E822B #2B819E #482B9E
monochromatic
#3E3311 #6E5A1E #9E822B #CAA73C #D7BD6C
Accessibility & contrast
On white
3.70
#9E822B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#9E822B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E822B
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E822B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E822B | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91801F
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#AB7770
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9e822b; /* rgb */ color: rgb(158, 130, 43); /* oklch */ color: oklch(61.7% 0.109 90.6);
Tailwind
colors: {
custom: {
50: '#bea66a',
500: '#9e822b',
950: '#000000',
},
}SCSS
$custom: #9e822b; $custom-light: #bea66a; $custom-dark: #000000;
JSON
{
"hex": "#9e822b",
"rgb": {
"r": 158,
"g": 130,
"b": 43
},
"hsl": {
"h": 45.391,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.61683,
"c": 0.10862,
"h": 90.6
},
"luminance": 0.23409
}Semantic roles & 50–950 ramp
primary
#9E822B
secondary
#677CBE
accent
#6DE047
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A