#997C1C#997C1C

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

Color values

HEX#997C1C
RGBrgb(153, 124, 28)
HSLhsl(46, 69%, 35%)
HSVhsv(46, 82%, 60%)
CMYKcmyk(0%, 19%, 81.7%, 40%)
CIE-LABlab(53.25, 1.65, 52.24)
CIE-LCHlch(53.25, 52.26, 88.20°)
OKLaboklab(59.76% -0.0014 0.113)
OKLCHoklch(59.76% 0.113 90.7)
XYZxyz(20.5554, 21.2728, 4.1218)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997C1C #1C3999
analogous
#993D1C #997C1C #77991C
triadic
#997C1C #1C997C #7C1C99
tetradic
#997C1C #1C993D #1C3999 #991C77
square
#997C1C #1C993D #1C3999 #991C77
split-complementary
#997C1C #1C7799 #3D1C99
monochromatic
#322809 #655213 #997C1C #CDA625 #DFBE50

Accessibility & contrast

On white

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

On black

5.25
#997C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997C1C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997C1C#FFFFFF#000000##000000
##997C1C1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997c1c;
/* rgb */ color: rgb(153, 124, 28);
/* oklch */ color: oklch(59.8% 0.113 90.7);
Tailwind
colors: {
  custom: {
    50: '#bba161',
    500: '#997c1c',
    950: '#000000',
  },
}
SCSS
$custom: #997c1c;
$custom-light: #bba161;
$custom-dark: #000000;
JSON
{
  "hex": "#997c1c",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 46.08,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.11301,
    "h": 90.7
  },
  "luminance": 0.21271
}

Semantic roles & 50–950 ramp

primary
#997C1C
secondary
#4F6AC2
accent
#65EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #997C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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