#997A1D#997A1D

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

Color values

HEX#997A1D
RGBrgb(153, 122, 29)
HSLhsl(45, 68%, 36%)
HSVhsv(45, 81%, 60%)
CMYKcmyk(0%, 20.3%, 81%, 40%)
CIE-LABlab(52.71, 2.81, 51.41)
CIE-LCHlch(52.71, 51.49, 86.87°)
OKLaboklab(59.34% 0.0021 0.1114)
OKLCHoklch(59.34% 0.111 88.9)
XYZxyz(20.3194, 20.7814, 4.1032)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997A1D #1D3C99
analogous
#993C1D #997A1D #7A991D
triadic
#997A1D #1D997A #7A1D99
tetradic
#997A1D #1D993C #1D3C99 #991D7A
square
#997A1D #1D993C #1D3C99 #991D7A
split-complementary
#997A1D #1D7A99 #3C1D99
monochromatic
#322809 #665113 #997A1D #CCA327 #DEBB52

Accessibility & contrast

On white

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

On black

5.16
#997A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997A1D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997A1D#FFFFFF#000000##000000
##997A1D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997a1d;
/* rgb */ color: rgb(153, 122, 29);
/* oklch */ color: oklch(59.3% 0.111 88.9);
Tailwind
colors: {
  custom: {
    50: '#bba062',
    500: '#997a1d',
    950: '#000000',
  },
}
SCSS
$custom: #997a1d;
$custom-light: #bba062;
$custom-dark: #000000;
JSON
{
  "hex": "#997a1d",
  "rgb": {
    "r": 153,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 45,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.11146,
    "h": 88.9
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#997A1D
secondary
#516DC1
accent
#68EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #997A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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