#977B20#977B20

#977B20 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.4% C 0.110 H 90.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#977B20
RGBrgb(151, 123, 32)
HSLhsl(46, 65%, 36%)
HSVhsv(46, 79%, 59%)
CMYKcmyk(0%, 18.5%, 78.8%, 40.8%)
CIE-LABlab(52.79, 1.44, 50.32)
CIE-LCHlch(52.79, 50.34, 88.37°)
OKLaboklab(59.36% -0.0014 0.1099)
OKLCHoklch(59.36% 0.11 90.8)
XYZxyz(20.1074, 20.8508, 4.3318)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977B20 #203C97
analogous
#973F20 #977B20 #779720
triadic
#977B20 #20977B #7B2097
tetradic
#977B20 #20973F #203C97 #972077
square
#977B20 #20973F #203C97 #972077
split-complementary
#977B20 #207797 #3F2097
monochromatic
#32290B #645215 #977B20 #C9A42B #DBBC56

Accessibility & contrast

On white

4.06
#977B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#977B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977B20
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977B20#FFFFFF#000000##000000
##977B201.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790E
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#A4706A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #977b20;
/* rgb */ color: rgb(151, 123, 32);
/* oklch */ color: oklch(59.4% 0.110 90.8);
Tailwind
colors: {
  custom: {
    50: '#baa063',
    500: '#977b20',
    950: '#000000',
  },
}
SCSS
$custom: #977b20;
$custom-light: #baa063;
$custom-dark: #000000;
JSON
{
  "hex": "#977b20",
  "rgb": {
    "r": 151,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 45.882,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.10988,
    "h": 90.8
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#977B20
secondary
#546DBF
accent
#67E840
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #977B20

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

Preview Lab → · Contrast checker → · Palette generator →

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