#977D24#977D24

#977D24 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.8% C 0.109 H 92.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#977D24
RGBrgb(151, 125, 36)
HSLhsl(46, 61%, 37%)
HSVhsv(46, 76%, 59%)
CMYKcmyk(0%, 17.2%, 76.2%, 40.8%)
CIE-LABlab(53.36, 0.49, 49.33)
CIE-LCHlch(53.36, 49.33, 89.44°)
OKLaboklab(59.82% -0.0037 0.1086)
OKLCHoklch(59.82% 0.109 92)
XYZxyz(20.4157, 21.3751, 4.7192)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977D24 #243E97
analogous
#974424 #977D24 #789724
triadic
#977D24 #24977D #7D2497
tetradic
#977D24 #249744 #243E97 #972478
square
#977D24 #249744 #243E97 #972478
split-complementary
#977D24 #247897 #442497
monochromatic
#342B0C #665418 #977D24 #C8A630 #D8BC5D

Accessibility & contrast

On white

3.98
#977D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#977D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977D24
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977D24#FFFFFF#000000##000000
##977D241.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #977d24;
/* rgb */ color: rgb(151, 125, 36);
/* oklch */ color: oklch(59.8% 0.109 92.0);
Tailwind
colors: {
  custom: {
    50: '#b9a265',
    500: '#977d24',
    950: '#000000',
  },
}
SCSS
$custom: #977d24;
$custom-light: #b9a265;
$custom-dark: #000000;
JSON
{
  "hex": "#977d24",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 46.435,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.10866,
    "h": 92
  },
  "luminance": 0.21374
}

Semantic roles & 50–950 ramp

primary
#977D24
secondary
#5A70BD
accent
#68E543
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #977D24

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

Preview Lab → · Contrast checker → · Palette generator →

#977D24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva