#9D811C#9D811C
#9D811C is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.117 H 92.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9D811C |
|---|---|
| RGB | rgb(157, 129, 28) |
| HSL | hsl(47, 70%, 36%) |
| HSV | hsv(47, 82%, 62%) |
| CMYK | cmyk(0%, 17.8%, 82.2%, 38.4%) |
| CIE-LAB | lab(55.02, 0.69, 53.97) |
| CIE-LCH | lch(55.02, 53.97, 89.26°) |
| OKLab | oklab(61.26% -0.0043 0.1165) |
| OKLCH | oklch(61.26% 0.117 92.1) |
| XYZ | xyz(21.9658, 22.9538, 4.3720) |
| Luminance | 0.2295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.94
Yellowish Brown
#9B7A01
ΔE00 2.88
Baby Poop
#937C00
ΔE00 3.12
Puke Brown
#947706
ΔE00 3.74
Dark Mustard
#A88905
ΔE00 3.75
Hazel
#8E7618
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D811C #1C389D
analogous
#9D411C #9D811C #799D1C
triadic
#9D811C #1C9D81 #811C9D
tetradic
#9D811C #1C9D41 #1C389D #9D1C79
square
#9D811C #1C9D41 #1C389D #9D1C79
split-complementary
#9D811C #1C799D #411C9D
monochromatic
#352C09 #695613 #9D811C #D1AC25 #E0C253
Accessibility & contrast
On white
3.76
#9D811C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#9D811C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D811C
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D811C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D811C | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#AA766E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9d811c; /* rgb */ color: rgb(157, 129, 28); /* oklch */ color: oklch(61.3% 0.117 92.1);
Tailwind
colors: {
custom: {
50: '#bea562',
500: '#9d811c',
950: '#000000',
},
}SCSS
$custom: #9d811c; $custom-light: #bea562; $custom-dark: #000000;
JSON
{
"hex": "#9d811c",
"rgb": {
"r": 157,
"g": 129,
"b": 28
},
"hsl": {
"h": 46.977,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.61261,
"c": 0.1166,
"h": 92.1
},
"luminance": 0.22952
}Semantic roles & 50–950 ramp
primary
#9D811C
secondary
#516AC3
accent
#62ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A