#9D802C#9D802C
#9D802C is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.2% C 0.107 H 89.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9D802C |
|---|---|
| RGB | rgb(157, 128, 44) |
| HSL | hsl(45, 56%, 39%) |
| HSV | hsv(45, 72%, 62%) |
| CMYK | cmyk(0%, 18.5%, 72%, 38.4%) |
| CIE-LAB | lab(54.86, 1.96, 47.71) |
| CIE-LCH | lch(54.86, 47.75, 87.65°) |
| OKLab | oklab(61.16% 0.0011 0.1065) |
| OKLCH | oklch(61.16% 0.107 89.4) |
| XYZ | xyz(22.0797, 22.7897, 5.6183) |
| Luminance | 0.2279 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.74
Diarrhea
#9F8303
ΔE00 4.02
Puke Brown
#947706
ΔE00 4.30
Baby Poop
#937C00
ΔE00 4.56
Hazel
#8E7618
ΔE00 4.70
Dark Mustard
#A88905
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D802C #2C499D
analogous
#9D482C #9D802C #829D2C
triadic
#9D802C #2C9D80 #802C9D
tetradic
#9D802C #2C9D48 #2C499D #9D2C82
square
#9D802C #2C9D48 #2C499D #9D2C82
split-complementary
#9D802C #2C829D #482C9D
monochromatic
#3D3211 #6D591F #9D802C #C9A53D #D6BB6D
Accessibility & contrast
On white
3.78
#9D802C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#9D802C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D802C
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D802C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D802C | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F20
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#AA756F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9d802c; /* rgb */ color: rgb(157, 128, 44); /* oklch */ color: oklch(61.2% 0.107 89.4);
Tailwind
colors: {
custom: {
50: '#bea46a',
500: '#9d802c',
950: '#000000',
},
}SCSS
$custom: #9d802c; $custom-light: #bea46a; $custom-dark: #000000;
JSON
{
"hex": "#9d802c",
"rgb": {
"r": 157,
"g": 128,
"b": 44
},
"hsl": {
"h": 44.602,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.61159,
"c": 0.10652,
"h": 89.4
},
"luminance": 0.22788
}Semantic roles & 50–950 ramp
primary
#9D802C
secondary
#687EBD
accent
#6FE048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A