#977D2C#977D2C

#977D2C is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.9% C 0.103 H 90.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#977D2C
RGBrgb(151, 125, 44)
HSLhsl(45, 55%, 38%)
HSVhsv(45, 71%, 59%)
CMYKcmyk(0%, 17.2%, 70.9%, 40.8%)
CIE-LABlab(53.42, 0.90, 46.04)
CIE-LCHlch(53.42, 46.05, 88.88°)
OKLaboklab(59.88% -0.0016 0.1032)
OKLCHoklch(59.88% 0.103 90.9)
XYZxyz(20.5518, 21.4296, 5.4362)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977D2C #2C4697
analogous
#97482C #977D2C #7B972C
triadic
#977D2C #2C977D #7D2C97
tetradic
#977D2C #2C9748 #2C4697 #972C7B
square
#977D2C #2C9748 #2C4697 #972C7B
split-complementary
#977D2C #2C7B97 #482C97
monochromatic
#382F10 #68561E #977D2C #C6A43A #D4BA6A

Accessibility & contrast

On white

3.97
#977D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#977D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977D2C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977D2C#FFFFFF#000000##000000
##977D2C1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B21
Deuteranopia (green-blind)
#918330
Tritanopia (blue-blind)
#A3736C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977d2c;
/* rgb */ color: rgb(151, 125, 44);
/* oklch */ color: oklch(59.9% 0.103 90.9);
Tailwind
colors: {
  custom: {
    50: '#b9a26a',
    500: '#977d2c',
    950: '#000000',
  },
}
SCSS
$custom: #977d2c;
$custom-light: #b9a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#977d2c",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 45.421,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.10322,
    "h": 90.9
  },
  "luminance": 0.21428
}

Semantic roles & 50–950 ramp

primary
#977D2C
secondary
#6579BA
accent
#6EDE4A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #977D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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