#997C24#997C24

#997C24 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.109 H 89.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#997C24
RGBrgb(153, 124, 36)
HSLhsl(45, 62%, 37%)
HSVhsv(45, 76%, 60%)
CMYKcmyk(0%, 19%, 76.5%, 40%)
CIE-LABlab(53.29, 1.97, 49.34)
CIE-LCHlch(53.29, 49.38, 87.71°)
OKLaboklab(59.81% 0.0004 0.1085)
OKLCHoklch(59.81% 0.109 89.8)
XYZxyz(20.6642, 21.3163, 4.6948)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997C24 #244199
analogous
#994124 #997C24 #7C9924
triadic
#997C24 #24997C #7C2499
tetradic
#997C24 #249941 #244199 #99247C
square
#997C24 #249941 #244199 #99247C
split-complementary
#997C24 #247C99 #412499
monochromatic
#362C0D #675418 #997C24 #CBA430 #D9BB5E

Accessibility & contrast

On white

3.99
#997C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#997C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997C24
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997C24#FFFFFF#000000##000000
##997C241.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B15
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997c24;
/* rgb */ color: rgb(153, 124, 36);
/* oklch */ color: oklch(59.8% 0.109 89.8);
Tailwind
colors: {
  custom: {
    50: '#bba165',
    500: '#997c24',
    950: '#000000',
  },
}
SCSS
$custom: #997c24;
$custom-light: #bba165;
$custom-dark: #000000;
JSON
{
  "hex": "#997c24",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 45.128,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.10854,
    "h": 89.8
  },
  "luminance": 0.21315
}

Semantic roles & 50–950 ramp

primary
#997C24
secondary
#5B73BE
accent
#6BE543
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997C24

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

Preview Lab → · Contrast checker → · Palette generator →

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