#997C23#997C23

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

Color values

HEX#997C23
RGBrgb(153, 124, 35)
HSLhsl(45, 63%, 37%)
HSVhsv(45, 77%, 60%)
CMYKcmyk(0%, 19%, 77.1%, 40%)
CIE-LABlab(53.29, 1.93, 49.73)
CIE-LCHlch(53.29, 49.76, 87.78°)
OKLaboklab(59.81% 0.0002 0.1092)
OKLCHoklch(59.81% 0.109 89.9)
XYZxyz(20.6491, 21.3103, 4.6155)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997C23 #234099
analogous
#994123 #997C23 #7B9923
triadic
#997C23 #23997C #7C2399
tetradic
#997C23 #239941 #234099 #99237B
square
#997C23 #239941 #234099 #99237B
split-complementary
#997C23 #237B99 #412399
monochromatic
#352B0C #675418 #997C23 #CBA42E #DABB5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997C23#FFFFFF#000000##000000
##997C231.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)
#8B7B13
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997c23;
/* rgb */ color: rgb(153, 124, 35);
/* oklch */ color: oklch(59.8% 0.109 89.9);
Tailwind
colors: {
  custom: {
    50: '#bba165',
    500: '#997c23',
    950: '#000000',
  },
}
SCSS
$custom: #997c23;
$custom-light: #bba165;
$custom-dark: #000000;
JSON
{
  "hex": "#997c23",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 45.254,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59806,
    "c": 0.10915,
    "h": 89.9
  },
  "luminance": 0.21309
}

Semantic roles & 50–950 ramp

primary
#997C23
secondary
#5972BE
accent
#6AE642
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997C23

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

Preview Lab → · Contrast checker → · Palette generator →

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