#997F2C#997F2C

#997F2C is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.5% C 0.105 H 91.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#997F2C
RGBrgb(153, 127, 44)
HSLhsl(46, 55%, 39%)
HSVhsv(46, 71%, 60%)
CMYKcmyk(0%, 17%, 71.2%, 40%)
CIE-LABlab(54.17, 0.69, 46.88)
CIE-LCHlch(54.17, 46.88, 89.16°)
OKLaboklab(60.52% -0.0023 0.1049)
OKLCHoklch(60.52% 0.105 91.3)
XYZxyz(21.1820, 22.1341, 5.5390)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997F2C #2C4699
analogous
#99482C #997F2C #7C992C
triadic
#997F2C #2C997F #7F2C99
tetradic
#997F2C #2C9948 #2C4699 #992C7C
square
#997F2C #2C9948 #2C4699 #992C7C
split-complementary
#997F2C #2C7C99 #482C99
monochromatic
#3A3011 #69581E #997F2C #C7A63B #D4BB6B

Accessibility & contrast

On white

3.87
#997F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#997F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997F2C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997F2C#FFFFFF#000000##000000
##997F2C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D21
Deuteranopia (green-blind)
#938530
Tritanopia (blue-blind)
#A6756E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997f2c;
/* rgb */ color: rgb(153, 127, 44);
/* oklch */ color: oklch(60.5% 0.105 91.3);
Tailwind
colors: {
  custom: {
    50: '#baa36a',
    500: '#997f2c',
    950: '#000000',
  },
}
SCSS
$custom: #997f2c;
$custom-light: #baa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#997f2c",
  "rgb": {
    "r": 153,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 45.688,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.10494,
    "h": 91.3
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#997F2C
secondary
#667ABB
accent
#6DDF49
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #997F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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