#997C25#997C25

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

Color values

HEX#997C25
RGBrgb(153, 124, 37)
HSLhsl(45, 61%, 37%)
HSVhsv(45, 76%, 60%)
CMYKcmyk(0%, 19%, 75.8%, 40%)
CIE-LABlab(53.30, 2.02, 48.95)
CIE-LCHlch(53.30, 48.99, 87.64°)
OKLaboklab(59.82% 0.0007 0.1079)
OKLCHoklch(59.82% 0.108 89.6)
XYZxyz(20.6796, 21.3225, 4.7763)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997C25 #254299
analogous
#994225 #997C25 #7C9925
triadic
#997C25 #25997C #7C2599
tetradic
#997C25 #259942 #254299 #99257C
square
#997C25 #259942 #254299 #99257C
split-complementary
#997C25 #257C99 #422599
monochromatic
#362C0D #685419 #997C25 #CAA431 #D9BA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997C25#FFFFFF#000000##000000
##997C251.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)
#8B7B17
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997c25;
/* rgb */ color: rgb(153, 124, 37);
/* oklch */ color: oklch(59.8% 0.108 89.6);
Tailwind
colors: {
  custom: {
    50: '#bba166',
    500: '#997c25',
    950: '#000000',
  },
}
SCSS
$custom: #997c25;
$custom-light: #bba166;
$custom-dark: #000000;
JSON
{
  "hex": "#997c25",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 45,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59821,
    "c": 0.10791,
    "h": 89.6
  },
  "luminance": 0.21321
}

Semantic roles & 50–950 ramp

primary
#997C25
secondary
#5C75BE
accent
#6CE444
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997C25

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

Preview Lab → · Contrast checker → · Palette generator →

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