#9A802E#9A802E
#9A802E is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.9% C 0.104 H 91.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9A802E |
|---|---|
| RGB | rgb(154, 128, 46) |
| HSL | hsl(46, 54%, 39%) |
| HSV | hsv(46, 70%, 60%) |
| CMYK | cmyk(0%, 16.9%, 70.1%, 39.6%) |
| CIE-LAB | lab(54.56, 0.70, 46.43) |
| CIE-LCH | lch(54.56, 46.44, 89.14°) |
| OKLab | oklab(60.86% -0.0021 0.1043) |
| OKLCH | oklch(60.86% 0.104 91.1) |
| XYZ | xyz(21.5399, 22.5069, 5.7940) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 4.17
Diarrhea
#9F8303
ΔE00 4.24
Baby Poop
#937C00
ΔE00 4.29
Hazel
#8E7618
ΔE00 4.32
Puke Brown
#947706
ΔE00 4.34
Poo
#8F7303
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A802E #2E489A
analogous
#9A4A2E #9A802E #7E9A2E
triadic
#9A802E #2E9A80 #802E9A
tetradic
#9A802E #2E9A4A #2E489A #9A2E7E
square
#9A802E #2E9A4A #2E489A #9A2E7E
split-complementary
#9A802E #2E7E9A #4A2E9A
monochromatic
#3C3212 #6B5920 #9A802E #C6A53F #D4BB6F
Accessibility & contrast
On white
3.82
#9A802E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#9A802E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A802E
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A802E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A802E | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E23
Deuteranopia (green-blind)
#948632
Tritanopia (blue-blind)
#A7766F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9a802e; /* rgb */ color: rgb(154, 128, 46); /* oklch */ color: oklch(60.9% 0.104 91.1);
Tailwind
colors: {
custom: {
50: '#bba46b',
500: '#9a802e',
950: '#000000',
},
}SCSS
$custom: #9a802e; $custom-light: #bba46b; $custom-dark: #000000;
JSON
{
"hex": "#9a802e",
"rgb": {
"r": 154,
"g": 128,
"b": 46
},
"hsl": {
"h": 45.556,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.6086,
"c": 0.10432,
"h": 91.1
},
"luminance": 0.22506
}Semantic roles & 50–950 ramp
primary
#9A802E
secondary
#697DBB
accent
#6EDD4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A