#997A1D#997A1D
#997A1D is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.3% C 0.111 H 88.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #997A1D |
|---|---|
| RGB | rgb(153, 122, 29) |
| HSL | hsl(45, 68%, 36%) |
| HSV | hsv(45, 81%, 60%) |
| CMYK | cmyk(0%, 20.3%, 81%, 40%) |
| CIE-LAB | lab(52.71, 2.81, 51.41) |
| CIE-LCH | lch(52.71, 51.49, 86.87°) |
| OKLab | oklab(59.34% 0.0021 0.1114) |
| OKLCH | oklch(59.34% 0.111 88.9) |
| XYZ | xyz(20.3194, 20.7814, 4.1032) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.01
Puke Brown
#947706
ΔE00 2.15
Hazel
#8E7618
ΔE00 3.08
Poo
#8F7303
ΔE00 3.41
Baby Poop
#937C00
ΔE00 3.64
Diarrhea
#9F8303
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997A1D #1D3C99
analogous
#993C1D #997A1D #7A991D
triadic
#997A1D #1D997A #7A1D99
tetradic
#997A1D #1D993C #1D3C99 #991D7A
square
#997A1D #1D993C #1D3C99 #991D7A
split-complementary
#997A1D #1D7A99 #3C1D99
monochromatic
#322809 #665113 #997A1D #CCA327 #DEBB52
Accessibility & contrast
On white
4.07
#997A1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#997A1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997A1D
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997A1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997A1D | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897908
Deuteranopia (green-blind)
#918123
Tritanopia (blue-blind)
#A66F68
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #997a1d; /* rgb */ color: rgb(153, 122, 29); /* oklch */ color: oklch(59.3% 0.111 88.9);
Tailwind
colors: {
custom: {
50: '#bba062',
500: '#997a1d',
950: '#000000',
},
}SCSS
$custom: #997a1d; $custom-light: #bba062; $custom-dark: #000000;
JSON
{
"hex": "#997a1d",
"rgb": {
"r": 153,
"g": 122,
"b": 29
},
"hsl": {
"h": 45,
"s": 68.132,
"l": 35.686
},
"oklch": {
"l": 0.5934,
"c": 0.11146,
"h": 88.9
},
"luminance": 0.2078
}Semantic roles & 50–950 ramp
primary
#997A1D
secondary
#516DC1
accent
#68EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A