#997D1C#997D1C
#997D1C is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 60.0% C 0.114 H 91.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #997D1C |
|---|---|
| RGB | rgb(153, 125, 28) |
| HSL | hsl(47, 69%, 35%) |
| HSV | hsv(47, 82%, 60%) |
| CMYK | cmyk(0%, 18.3%, 81.7%, 40%) |
| CIE-LAB | lab(53.52, 1.08, 52.48) |
| CIE-LCH | lch(53.52, 52.49, 88.82°) |
| OKLab | oklab(59.98% -0.003 0.1135) |
| OKLCH | oklch(59.98% 0.114 91.5) |
| XYZ | xyz(20.6813, 21.5247, 4.1638) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.19
Puke Brown
#947706
ΔE00 2.45
Baby Poop
#937C00
ΔE00 2.64
Diarrhea
#9F8303
ΔE00 3.12
Hazel
#8E7618
ΔE00 3.24
Poo
#8F7303
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997D1C #1C3899
analogous
#993E1C #997D1C #76991C
triadic
#997D1C #1C997D #7D1C99
tetradic
#997D1C #1C993E #1C3899 #991C76
square
#997D1C #1C993E #1C3899 #991C76
split-complementary
#997D1C #1C7699 #3E1C99
monochromatic
#322809 #655313 #997D1C #CDA725 #DFBF50
Accessibility & contrast
On white
3.96
#997D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#997D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997D1C
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997D1C | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B04
Deuteranopia (green-blind)
#938322
Tritanopia (blue-blind)
#A6726B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #997d1c; /* rgb */ color: rgb(153, 125, 28); /* oklch */ color: oklch(60.0% 0.114 91.5);
Tailwind
colors: {
custom: {
50: '#bba262',
500: '#997d1c',
950: '#000000',
},
}SCSS
$custom: #997d1c; $custom-light: #bba262; $custom-dark: #000000;
JSON
{
"hex": "#997d1c",
"rgb": {
"r": 153,
"g": 125,
"b": 28
},
"hsl": {
"h": 46.56,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.59976,
"c": 0.11356,
"h": 91.5
},
"luminance": 0.21523
}Semantic roles & 50–950 ramp
primary
#997D1C
secondary
#4F69C2
accent
#63EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F05
muted
#817E7A