#997E2A#997E2A

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

Color values

HEX#997E2A
RGBrgb(153, 126, 42)
HSLhsl(45, 57%, 38%)
HSVhsv(45, 73%, 60%)
CMYKcmyk(0%, 17.6%, 72.5%, 40%)
CIE-LABlab(53.88, 1.14, 47.45)
CIE-LCHlch(53.88, 47.46, 88.62°)
OKLaboklab(60.29% -0.0012 0.1057)
OKLCHoklch(60.29% 0.106 90.7)
XYZxyz(21.0168, 21.8624, 5.3029)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E2A #2A4599
analogous
#99462A #997E2A #7C992A
triadic
#997E2A #2A997E #7E2A99
tetradic
#997E2A #2A9946 #2A4599 #992A7C
square
#997E2A #2A9946 #2A4599 #992A7C
split-complementary
#997E2A #2A7C99 #462A99
monochromatic
#392F10 #69561D #997E2A #C8A538 #D6BB68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997E2A#FFFFFF#000000##000000
##997E2A1.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)
#8C7C1E
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997e2a;
/* rgb */ color: rgb(153, 126, 42);
/* oklch */ color: oklch(60.3% 0.106 90.7);
Tailwind
colors: {
  custom: {
    50: '#bba369',
    500: '#997e2a',
    950: '#000000',
  },
}
SCSS
$custom: #997e2a;
$custom-light: #bba369;
$custom-dark: #000000;
JSON
{
  "hex": "#997e2a",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 45.405,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6029,
    "c": 0.10575,
    "h": 90.7
  },
  "luminance": 0.21861
}

Semantic roles & 50–950 ramp

primary
#997E2A
secondary
#6379BC
accent
#6DE048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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