#997E1E#997E1E

#997E1E is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.2% C 0.113 H 92.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#997E1E
RGBrgb(153, 126, 30)
HSLhsl(47, 67%, 36%)
HSVhsv(47, 80%, 60%)
CMYKcmyk(0%, 17.6%, 80.4%, 40%)
CIE-LABlab(53.80, 0.60, 52.05)
CIE-LCHlch(53.80, 52.05, 89.34°)
OKLaboklab(60.2% -0.0042 0.113)
OKLCHoklch(60.2% 0.113 92.1)
XYZxyz(20.8333, 21.7890, 4.3364)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E1E #1E3999
analogous
#99401E #997E1E #76991E
triadic
#997E1E #1E997E #7E1E99
tetradic
#997E1E #1E9940 #1E3999 #991E76
square
#997E1E #1E9940 #1E3999 #991E76
split-complementary
#997E1E #1E7699 #401E99
monochromatic
#332A0A #665414 #997E1E #CCA828 #DDBF54

Accessibility & contrast

On white

3.92
#997E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#997E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997E1E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997E1E#FFFFFF#000000##000000
##997E1E1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#A6736C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997e1e;
/* rgb */ color: rgb(153, 126, 30);
/* oklch */ color: oklch(60.2% 0.113 92.1);
Tailwind
colors: {
  custom: {
    50: '#bba363',
    500: '#997e1e',
    950: '#000000',
  },
}
SCSS
$custom: #997e1e;
$custom-light: #bba363;
$custom-dark: #000000;
JSON
{
  "hex": "#997e1e",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 46.829,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.11311,
    "h": 92.1
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#997E1E
secondary
#526AC1
accent
#64EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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