#997C1E#997C1E

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

Color values

HEX#997C1E
RGBrgb(153, 124, 30)
HSLhsl(46, 67%, 36%)
HSVhsv(46, 80%, 60%)
CMYKcmyk(0%, 19%, 80.4%, 40%)
CIE-LABlab(53.26, 1.72, 51.56)
CIE-LCHlch(53.26, 51.58, 88.09°)
OKLaboklab(59.77% -0.001 0.112)
OKLCHoklch(59.77% 0.112 90.5)
XYZxyz(20.5801, 21.2827, 4.2520)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997C1E #1E3B99
analogous
#993F1E #997C1E #78991E
triadic
#997C1E #1E997C #7C1E99
tetradic
#997C1E #1E993F #1E3B99 #991E78
square
#997C1E #1E993F #1E3B99 #991E78
split-complementary
#997C1E #1E7899 #3F1E99
monochromatic
#33290A #665314 #997C1E #CCA528 #DDBD54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997C1E#FFFFFF#000000##000000
##997C1E1.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)
#8B7A09
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#A6716A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997c1e;
/* rgb */ color: rgb(153, 124, 30);
/* oklch */ color: oklch(59.8% 0.112 90.5);
Tailwind
colors: {
  custom: {
    50: '#bba162',
    500: '#997c1e',
    950: '#000000',
  },
}
SCSS
$custom: #997c1e;
$custom-light: #bba162;
$custom-dark: #000000;
JSON
{
  "hex": "#997c1e",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 45.854,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59773,
    "c": 0.11197,
    "h": 90.5
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#997C1E
secondary
#526CC1
accent
#66EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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