#997D26#997D26

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

Color values

HEX#997D26
RGBrgb(153, 125, 38)
HSLhsl(45, 60%, 37%)
HSVhsv(45, 75%, 60%)
CMYKcmyk(0%, 18.3%, 75.2%, 40%)
CIE-LABlab(53.58, 1.50, 48.81)
CIE-LCHlch(53.58, 48.84, 88.24°)
OKLaboklab(60.04% -0.0007 0.1078)
OKLCHoklch(60.04% 0.108 90.4)
XYZxyz(20.8215, 21.5808, 4.9022)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997D26 #264299
analogous
#994326 #997D26 #7C9926
triadic
#997D26 #26997D #7D2699
tetradic
#997D26 #269943 #264299 #99267C
square
#997D26 #269943 #264299 #99267C
split-complementary
#997D26 #267C99 #432699
monochromatic
#372D0E #68551A #997D26 #CAA532 #D8BB62

Accessibility & contrast

On white

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

On black

5.32
#997D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997D26
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997D26#FFFFFF#000000##000000
##997D261.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B18
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#A6726C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #997d26;
/* rgb */ color: rgb(153, 125, 38);
/* oklch */ color: oklch(60.0% 0.108 90.4);
Tailwind
colors: {
  custom: {
    50: '#bba267',
    500: '#997d26',
    950: '#000000',
  },
}
SCSS
$custom: #997d26;
$custom-light: #bba267;
$custom-dark: #000000;
JSON
{
  "hex": "#997d26",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 45.391,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.10784,
    "h": 90.4
  },
  "luminance": 0.21579
}

Semantic roles & 50–950 ramp

primary
#997D26
secondary
#5E75BD
accent
#6BE344
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997D26

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

Preview Lab → · Contrast checker → · Palette generator →

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