#997D25#997D25

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

Color values

HEX#997D25
RGBrgb(153, 125, 37)
HSLhsl(46, 61%, 37%)
HSVhsv(46, 76%, 60%)
CMYKcmyk(0%, 18.3%, 75.8%, 40%)
CIE-LABlab(53.57, 1.45, 49.21)
CIE-LCHlch(53.57, 49.23, 88.31°)
OKLaboklab(60.04% -0.0009 0.1085)
OKLCHoklch(60.04% 0.108 90.5)
XYZxyz(20.8056, 21.5744, 4.8183)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997D25 #254199
analogous
#994325 #997D25 #7B9925
triadic
#997D25 #25997D #7D2599
tetradic
#997D25 #259943 #254199 #99257B
square
#997D25 #259943 #254199 #99257B
split-complementary
#997D25 #257B99 #432599
monochromatic
#362C0D #685519 #997D25 #CAA531 #D9BB60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997D25#FFFFFF#000000##000000
##997D251.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)
#8C7B17
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#A6726C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #997d25;
/* rgb */ color: rgb(153, 125, 37);
/* oklch */ color: oklch(60.0% 0.108 90.5);
Tailwind
colors: {
  custom: {
    50: '#bba266',
    500: '#997d25',
    950: '#000000',
  },
}
SCSS
$custom: #997d25;
$custom-light: #bba266;
$custom-dark: #000000;
JSON
{
  "hex": "#997d25",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 45.517,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.10847,
    "h": 90.5
  },
  "luminance": 0.21573
}

Semantic roles & 50–950 ramp

primary
#997D25
secondary
#5C74BE
accent
#6AE444
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997D25

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

Preview Lab → · Contrast checker → · Palette generator →

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