#997C1D#997C1D

#997C1D is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.113 H 90.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#997C1D
RGBrgb(153, 124, 29)
HSLhsl(46, 68%, 36%)
HSVhsv(46, 81%, 60%)
CMYKcmyk(0%, 19%, 81%, 40%)
CIE-LABlab(53.25, 1.68, 51.90)
CIE-LCHlch(53.25, 51.93, 88.14°)
OKLaboklab(59.77% -0.0012 0.1125)
OKLCHoklch(59.77% 0.113 90.6)
XYZxyz(20.5675, 21.2776, 4.1859)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997C1D #1D3A99
analogous
#993E1D #997C1D #78991D
triadic
#997C1D #1D997C #7C1D99
tetradic
#997C1D #1D993E #1D3A99 #991D78
square
#997C1D #1D993E #1D3A99 #991D78
split-complementary
#997C1D #1D7899 #3E1D99
monochromatic
#322909 #665213 #997C1D #CCA627 #DEBD52

Accessibility & contrast

On white

4.00
#997C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#997C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997C1D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997C1D#FFFFFF#000000##000000
##997C1D1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A07
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#A6716A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997c1d;
/* rgb */ color: rgb(153, 124, 29);
/* oklch */ color: oklch(59.8% 0.113 90.6);
Tailwind
colors: {
  custom: {
    50: '#bba162',
    500: '#997c1d',
    950: '#000000',
  },
}
SCSS
$custom: #997c1d;
$custom-light: #bba162;
$custom-dark: #000000;
JSON
{
  "hex": "#997c1d",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 45.968,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.1125,
    "h": 90.6
  },
  "luminance": 0.21276
}

Semantic roles & 50–950 ramp

primary
#997C1D
secondary
#516BC1
accent
#66EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #997C1D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#997C1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva