#997D24#997D24

#997D24 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.109 H 90.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#997D24
RGBrgb(153, 125, 36)
HSLhsl(46, 62%, 37%)
HSVhsv(46, 76%, 60%)
CMYKcmyk(0%, 18.3%, 76.5%, 40%)
CIE-LABlab(53.57, 1.41, 49.60)
CIE-LCHlch(53.57, 49.62, 88.37°)
OKLaboklab(60.03% -0.0012 0.1091)
OKLCHoklch(60.03% 0.109 90.6)
XYZxyz(20.7901, 21.5682, 4.7368)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997D24 #244099
analogous
#994324 #997D24 #7B9924
triadic
#997D24 #24997D #7D2499
tetradic
#997D24 #249943 #244099 #99247B
square
#997D24 #249943 #244099 #99247B
split-complementary
#997D24 #247B99 #432499
monochromatic
#362C0D #675518 #997D24 #CBA530 #D9BC5E

Accessibility & contrast

On white

3.95
#997D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#997D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997D24
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997D24#FFFFFF#000000##000000
##997D241.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B15
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#A6726C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #997d24;
/* rgb */ color: rgb(153, 125, 36);
/* oklch */ color: oklch(60.0% 0.109 90.6);
Tailwind
colors: {
  custom: {
    50: '#bba265',
    500: '#997d24',
    950: '#000000',
  },
}
SCSS
$custom: #997d24;
$custom-light: #bba265;
$custom-dark: #000000;
JSON
{
  "hex": "#997d24",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 45.641,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.1091,
    "h": 90.6
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#997D24
secondary
#5B73BE
accent
#6AE543
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997D24

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

Preview Lab → · Contrast checker → · Palette generator →

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