#997D1C#997D1C

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

Color values

HEX#997D1C
RGBrgb(153, 125, 28)
HSLhsl(47, 69%, 35%)
HSVhsv(47, 82%, 60%)
CMYKcmyk(0%, 18.3%, 81.7%, 40%)
CIE-LABlab(53.52, 1.08, 52.48)
CIE-LCHlch(53.52, 52.49, 88.82°)
OKLaboklab(59.98% -0.003 0.1135)
OKLCHoklch(59.98% 0.114 91.5)
XYZxyz(20.6813, 21.5247, 4.1638)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997D1C #1C3899
analogous
#993E1C #997D1C #76991C
triadic
#997D1C #1C997D #7D1C99
tetradic
#997D1C #1C993E #1C3899 #991C76
square
#997D1C #1C993E #1C3899 #991C76
split-complementary
#997D1C #1C7699 #3E1C99
monochromatic
#322809 #655313 #997D1C #CDA725 #DFBF50

Accessibility & contrast

On white

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

On black

5.30
#997D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997D1C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997D1C#FFFFFF#000000##000000
##997D1C1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997d1c;
/* rgb */ color: rgb(153, 125, 28);
/* oklch */ color: oklch(60.0% 0.114 91.5);
Tailwind
colors: {
  custom: {
    50: '#bba262',
    500: '#997d1c',
    950: '#000000',
  },
}
SCSS
$custom: #997d1c;
$custom-light: #bba262;
$custom-dark: #000000;
JSON
{
  "hex": "#997d1c",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 46.56,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59976,
    "c": 0.11356,
    "h": 91.5
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#997D1C
secondary
#4F69C2
accent
#63EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #997D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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