#997E2D#997E2D

#997E2D is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.3% C 0.104 H 90.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#997E2D
RGBrgb(153, 126, 45)
HSLhsl(45, 55%, 39%)
HSVhsv(45, 71%, 60%)
CMYKcmyk(0%, 17.6%, 70.6%, 40%)
CIE-LABlab(53.90, 1.31, 46.16)
CIE-LCHlch(53.90, 46.18, 88.38°)
OKLaboklab(60.32% -0.0004 0.1036)
OKLCHoklch(60.32% 0.104 90.2)
XYZxyz(21.0725, 21.8847, 5.5964)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E2D #2D4899
analogous
#99482D #997E2D #7E992D
triadic
#997E2D #2D997E #7E2D99
tetradic
#997E2D #2D9948 #2D4899 #992D7E
square
#997E2D #2D9948 #2D4899 #992D7E
split-complementary
#997E2D #2D7E99 #482D99
monochromatic
#3A3011 #6A571F #997E2D #C6A43D #D4BA6C

Accessibility & contrast

On white

3.91
#997E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#997E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997E2D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997E2D#FFFFFF#000000##000000
##997E2D1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #997e2d;
/* rgb */ color: rgb(153, 126, 45);
/* oklch */ color: oklch(60.3% 0.104 90.2);
Tailwind
colors: {
  custom: {
    50: '#baa36b',
    500: '#997e2d',
    950: '#000000',
  },
}
SCSS
$custom: #997e2d;
$custom-light: #baa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#997e2d",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 45,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.10359,
    "h": 90.2
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#997E2D
secondary
#677CBB
accent
#6FDE4A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #997E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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