#977D2B#977D2B

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

Color values

HEX#977D2B
RGBrgb(151, 125, 43)
HSLhsl(46, 56%, 38%)
HSVhsv(46, 72%, 59%)
CMYKcmyk(0%, 17.2%, 71.5%, 40.8%)
CIE-LABlab(53.41, 0.84, 46.47)
CIE-LCHlch(53.41, 46.48, 88.96°)
OKLaboklab(59.87% -0.0019 0.1039)
OKLCHoklch(59.87% 0.104 91)
XYZxyz(20.5333, 21.4222, 5.3384)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977D2B #2B4597
analogous
#97472B #977D2B #7B972B
triadic
#977D2B #2B977D #7D2B97
tetradic
#977D2B #2B9747 #2B4597 #972B7B
square
#977D2B #2B9747 #2B4597 #972B7B
split-complementary
#977D2B #2B7B97 #472B97
monochromatic
#382E10 #67561D #977D2B #C7A439 #D4BA68

Accessibility & contrast

On white

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

On black

5.28
#977D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977D2B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977D2B#FFFFFF#000000##000000
##977D2B1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#91832F
Tritanopia (blue-blind)
#A3736C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977d2b;
/* rgb */ color: rgb(151, 125, 43);
/* oklch */ color: oklch(59.9% 0.104 91.0);
Tailwind
colors: {
  custom: {
    50: '#b9a269',
    500: '#977d2b',
    950: '#000000',
  },
}
SCSS
$custom: #977d2b;
$custom-light: #b9a269;
$custom-dark: #000000;
JSON
{
  "hex": "#977d2b",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 45.556,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.10396,
    "h": 91
  },
  "luminance": 0.21421
}

Semantic roles & 50–950 ramp

primary
#977D2B
secondary
#6378BB
accent
#6DDF49
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #977D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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