#997D1D#997D1D

#997D1D is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 60.0% C 0.113 H 91.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#997D1D
RGBrgb(153, 125, 29)
HSLhsl(46, 68%, 36%)
HSVhsv(46, 81%, 60%)
CMYKcmyk(0%, 18.3%, 81%, 40%)
CIE-LABlab(53.52, 1.12, 52.14)
CIE-LCHlch(53.52, 52.16, 88.77°)
OKLaboklab(59.98% -0.0028 0.113)
OKLCHoklch(59.98% 0.113 91.4)
XYZxyz(20.6935, 21.5296, 4.2278)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997D1D #1D3999
analogous
#993F1D #997D1D #77991D
triadic
#997D1D #1D997D #7D1D99
tetradic
#997D1D #1D993F #1D3999 #991D77
square
#997D1D #1D993F #1D3999 #991D77
split-complementary
#997D1D #1D7799 #3F1D99
monochromatic
#322909 #665313 #997D1D #CCA727 #DEBF52

Accessibility & contrast

On white

3.96
#997D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#997D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997D1D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997D1D#FFFFFF#000000##000000
##997D1D1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B06
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#A6726B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #997d1d;
/* rgb */ color: rgb(153, 125, 29);
/* oklch */ color: oklch(60.0% 0.113 91.4);
Tailwind
colors: {
  custom: {
    50: '#bba262',
    500: '#997d1d',
    950: '#000000',
  },
}
SCSS
$custom: #997d1d;
$custom-light: #bba262;
$custom-dark: #000000;
JSON
{
  "hex": "#997d1d",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 46.452,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.11305,
    "h": 91.4
  },
  "luminance": 0.21528
}

Semantic roles & 50–950 ramp

primary
#997D1D
secondary
#516AC1
accent
#64EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #997D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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