#997D1E#997D1E

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

Color values

HEX#997D1E
RGBrgb(153, 125, 30)
HSLhsl(46, 67%, 36%)
HSVhsv(46, 80%, 60%)
CMYKcmyk(0%, 18.3%, 80.4%, 40%)
CIE-LABlab(53.53, 1.16, 51.80)
CIE-LCHlch(53.53, 51.82, 88.72°)
OKLaboklab(59.99% -0.0026 0.1125)
OKLCHoklch(59.99% 0.113 91.3)
XYZxyz(20.7061, 21.5346, 4.2940)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997D1E #1E3A99
analogous
#993F1E #997D1E #77991E
triadic
#997D1E #1E997D #7D1E99
tetradic
#997D1E #1E993F #1E3A99 #991E77
square
#997D1E #1E993F #1E3A99 #991E77
split-complementary
#997D1E #1E7799 #3F1E99
monochromatic
#33290A #665314 #997D1E #CCA728 #DDBE54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997D1E#FFFFFF#000000##000000
##997D1E1.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)
#8C7B08
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#A6726B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #997d1e;
/* rgb */ color: rgb(153, 125, 30);
/* oklch */ color: oklch(60.0% 0.113 91.3);
Tailwind
colors: {
  custom: {
    50: '#bba262',
    500: '#997d1e',
    950: '#000000',
  },
}
SCSS
$custom: #997d1e;
$custom-light: #bba262;
$custom-dark: #000000;
JSON
{
  "hex": "#997d1e",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 46.341,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59988,
    "c": 0.11253,
    "h": 91.3
  },
  "luminance": 0.21533
}

Semantic roles & 50–950 ramp

primary
#997D1E
secondary
#526BC1
accent
#65EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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