#997A1C#997A1C

#997A1C is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.3% C 0.112 H 89.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#997A1C
RGBrgb(153, 122, 28)
HSLhsl(45, 69%, 35%)
HSVhsv(45, 82%, 60%)
CMYKcmyk(0%, 20.3%, 81.7%, 40%)
CIE-LABlab(52.70, 2.77, 51.75)
CIE-LCHlch(52.70, 51.83, 86.93°)
OKLaboklab(59.33% 0.0018 0.112)
OKLCHoklch(59.33% 0.112 89.1)
XYZxyz(20.3073, 20.7766, 4.0391)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997A1C #1C3B99
analogous
#993B1C #997A1C #79991C
triadic
#997A1C #1C997A #7A1C99
tetradic
#997A1C #1C993B #1C3B99 #991C79
square
#997A1C #1C993B #1C3B99 #991C79
split-complementary
#997A1C #1C7999 #3B1C99
monochromatic
#322709 #655113 #997A1C #CDA325 #DFBC50

Accessibility & contrast

On white

4.07
#997A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#997A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997A1C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997A1C#FFFFFF#000000##000000
##997A1C1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897905
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#A66F68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #997a1c;
/* rgb */ color: rgb(153, 122, 28);
/* oklch */ color: oklch(59.3% 0.112 89.1);
Tailwind
colors: {
  custom: {
    50: '#bba061',
    500: '#997a1c',
    950: '#000000',
  },
}
SCSS
$custom: #997a1c;
$custom-light: #bba061;
$custom-dark: #000000;
JSON
{
  "hex": "#997a1c",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 45.12,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.11197,
    "h": 89.1
  },
  "luminance": 0.20775
}

Semantic roles & 50–950 ramp

primary
#997A1C
secondary
#4F6CC2
accent
#68EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #997A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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