#977E24#977E24

#977E24 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.109 H 92.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#977E24
RGBrgb(151, 126, 36)
HSLhsl(47, 61%, 37%)
HSVhsv(47, 76%, 59%)
CMYKcmyk(0%, 16.6%, 76.2%, 40.8%)
CIE-LABlab(53.63, -0.07, 49.59)
CIE-LCHlch(53.63, 49.59, 90.09°)
OKLaboklab(60.03% -0.0053 0.1092)
OKLCHoklch(60.03% 0.109 92.8)
XYZxyz(20.5429, 21.6296, 4.7616)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E24 #243D97
analogous
#974524 #977E24 #779724
triadic
#977E24 #24977E #7E2497
tetradic
#977E24 #249745 #243D97 #972477
square
#977E24 #249745 #243D97 #972477
split-complementary
#977E24 #247797 #452497
monochromatic
#342C0C #665518 #977E24 #C8A730 #D8BE5D

Accessibility & contrast

On white

3.94
#977E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#977E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977E24
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977E24#FFFFFF#000000##000000
##977E241.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C15
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977e24;
/* rgb */ color: rgb(151, 126, 36);
/* oklch */ color: oklch(60.0% 0.109 92.8);
Tailwind
colors: {
  custom: {
    50: '#b9a366',
    500: '#977e24',
    950: '#000000',
  },
}
SCSS
$custom: #977e24;
$custom-light: #b9a366;
$custom-dark: #000000;
JSON
{
  "hex": "#977e24",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 46.957,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.10929,
    "h": 92.8
  },
  "luminance": 0.21628
}

Semantic roles & 50–950 ramp

primary
#977E24
secondary
#5A6FBD
accent
#66E543
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #977E24

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

Preview Lab → · Contrast checker → · Palette generator →

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