#997E2B#997E2B

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

Color values

HEX#997E2B
RGBrgb(153, 126, 43)
HSLhsl(45, 56%, 38%)
HSVhsv(45, 72%, 60%)
CMYKcmyk(0%, 17.6%, 71.9%, 40%)
CIE-LABlab(53.89, 1.20, 47.02)
CIE-LCHlch(53.89, 47.04, 88.54°)
OKLaboklab(60.3% -0.001 0.105)
OKLCHoklch(60.3% 0.105 90.5)
XYZxyz(21.0349, 21.8697, 5.3984)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E2B #2B4699
analogous
#99472B #997E2B #7D992B
triadic
#997E2B #2B997E #7E2B99
tetradic
#997E2B #2B9947 #2B4699 #992B7D
square
#997E2B #2B9947 #2B4699 #992B7D
split-complementary
#997E2B #2B7D99 #472B99
monochromatic
#392F10 #69571E #997E2B #C8A53A #D5BB69

Accessibility & contrast

On white

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

On black

5.37
#997E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997E2B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997E2B#FFFFFF#000000##000000
##997E2B1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C20
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997e2b;
/* rgb */ color: rgb(153, 126, 43);
/* oklch */ color: oklch(60.3% 0.105 90.5);
Tailwind
colors: {
  custom: {
    50: '#bba369',
    500: '#997e2b',
    950: '#000000',
  },
}
SCSS
$custom: #997e2b;
$custom-light: #bba369;
$custom-dark: #000000;
JSON
{
  "hex": "#997e2b",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 45.273,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.10503,
    "h": 90.5
  },
  "luminance": 0.21868
}

Semantic roles & 50–950 ramp

primary
#997E2B
secondary
#647ABC
accent
#6DDF48
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #997E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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