#997F1E#997F1E

#997F1E is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.4% C 0.114 H 92.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#997F1E
RGBrgb(153, 127, 30)
HSLhsl(47, 67%, 36%)
HSVhsv(47, 80%, 60%)
CMYKcmyk(0%, 17%, 80.4%, 40%)
CIE-LABlab(54.08, 0.04, 52.30)
CIE-LCHlch(54.08, 52.30, 89.96°)
OKLaboklab(60.42% -0.0057 0.1136)
OKLCHoklch(60.42% 0.114 92.9)
XYZxyz(20.9618, 22.0461, 4.3793)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997F1E #1E3899
analogous
#99411E #997F1E #75991E
triadic
#997F1E #1E997F #7F1E99
tetradic
#997F1E #1E9941 #1E3899 #991E75
square
#997F1E #1E9941 #1E3899 #991E75
split-complementary
#997F1E #1E7599 #411E99
monochromatic
#332A0A #665514 #997F1E #CCA928 #DDC054

Accessibility & contrast

On white

3.88
#997F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#997F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997F1E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997F1E#FFFFFF#000000##000000
##997F1E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#A6746D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997f1e;
/* rgb */ color: rgb(153, 127, 30);
/* oklch */ color: oklch(60.4% 0.114 92.9);
Tailwind
colors: {
  custom: {
    50: '#bba363',
    500: '#997f1e',
    950: '#000000',
  },
}
SCSS
$custom: #997f1e;
$custom-light: #bba363;
$custom-dark: #000000;
JSON
{
  "hex": "#997f1e",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 47.317,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.11371,
    "h": 92.9
  },
  "luminance": 0.22045
}

Semantic roles & 50–950 ramp

primary
#997F1E
secondary
#5269C1
accent
#62EA3E
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #997F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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