#997E2C#997E2C

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

Color values

HEX#997E2C
RGBrgb(153, 126, 44)
HSLhsl(45, 55%, 39%)
HSVhsv(45, 71%, 60%)
CMYKcmyk(0%, 17.6%, 71.2%, 40%)
CIE-LABlab(53.90, 1.25, 46.60)
CIE-LCHlch(53.90, 46.61, 88.46°)
OKLaboklab(60.31% -0.0007 0.1043)
OKLCHoklch(60.31% 0.104 90.4)
XYZxyz(21.0535, 21.8771, 5.4962)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E2C #2C4799
analogous
#99472C #997E2C #7D992C
triadic
#997E2C #2C997E #7E2C99
tetradic
#997E2C #2C9947 #2C4799 #992C7D
square
#997E2C #2C9947 #2C4799 #992C7D
split-complementary
#997E2C #2C7D99 #472C99
monochromatic
#3A3011 #69571E #997E2C #C7A43B #D4BA6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997E2C#FFFFFF#000000##000000
##997E2C1.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)
#8C7C21
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997e2c;
/* rgb */ color: rgb(153, 126, 44);
/* oklch */ color: oklch(60.3% 0.104 90.4);
Tailwind
colors: {
  custom: {
    50: '#baa36a',
    500: '#997e2c',
    950: '#000000',
  },
}
SCSS
$custom: #997e2c;
$custom-light: #baa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#997e2c",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 45.138,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.10432,
    "h": 90.4
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#997E2C
secondary
#667BBB
accent
#6EDF49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #997E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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