#997B1E#997B1E

#997B1E is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.6% C 0.111 H 89.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#997B1E
RGBrgb(153, 123, 30)
HSLhsl(45, 67%, 36%)
HSVhsv(45, 80%, 60%)
CMYKcmyk(0%, 19.6%, 80.4%, 40%)
CIE-LABlab(52.99, 2.28, 51.31)
CIE-LCHlch(52.99, 51.36, 87.45°)
OKLaboklab(59.56% 0.0007 0.1114)
OKLCHoklch(59.56% 0.111 89.7)
XYZxyz(20.4554, 21.0333, 4.2105)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997B1E #1E3C99
analogous
#993D1E #997B1E #79991E
triadic
#997B1E #1E997B #7B1E99
tetradic
#997B1E #1E993D #1E3C99 #991E79
square
#997B1E #1E993D #1E3C99 #991E79
split-complementary
#997B1E #1E7999 #3D1E99
monochromatic
#33290A #665214 #997B1E #CCA428 #DDBC54

Accessibility & contrast

On white

4.03
#997B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#997B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997B1E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997B1E#FFFFFF#000000##000000
##997B1E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0A
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#A67069
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #997b1e;
/* rgb */ color: rgb(153, 123, 30);
/* oklch */ color: oklch(59.6% 0.111 89.7);
Tailwind
colors: {
  custom: {
    50: '#bba062',
    500: '#997b1e',
    950: '#000000',
  },
}
SCSS
$custom: #997b1e;
$custom-light: #bba062;
$custom-dark: #000000;
JSON
{
  "hex": "#997b1e",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 45.366,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.11144,
    "h": 89.7
  },
  "luminance": 0.21032
}

Semantic roles & 50–950 ramp

primary
#997B1E
secondary
#526DC1
accent
#68EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #997B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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