#977C22#977C22

#977C22 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.6% C 0.109 H 91.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#977C22
RGBrgb(151, 124, 34)
HSLhsl(46, 63%, 36%)
HSVhsv(46, 77%, 59%)
CMYKcmyk(0%, 17.9%, 77.5%, 40.8%)
CIE-LABlab(53.07, 0.96, 49.83)
CIE-LCHlch(53.07, 49.84, 88.90°)
OKLaboklab(59.59% -0.0026 0.1093)
OKLCHoklch(59.59% 0.109 91.4)
XYZxyz(20.2600, 21.1114, 4.5208)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977C22 #223D97
analogous
#974222 #977C22 #789722
triadic
#977C22 #22977C #7C2297
tetradic
#977C22 #229742 #223D97 #972278
square
#977C22 #229742 #223D97 #972278
split-complementary
#977C22 #227897 #422297
monochromatic
#332A0C #655317 #977C22 #C9A52D #DABC5A

Accessibility & contrast

On white

4.02
#977C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#977C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977C22
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977C22#FFFFFF#000000##000000
##977C221.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#A4716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #977c22;
/* rgb */ color: rgb(151, 124, 34);
/* oklch */ color: oklch(59.6% 0.109 91.4);
Tailwind
colors: {
  custom: {
    50: '#b9a164',
    500: '#977c22',
    950: '#000000',
  },
}
SCSS
$custom: #977c22;
$custom-light: #b9a164;
$custom-dark: #000000;
JSON
{
  "hex": "#977c22",
  "rgb": {
    "r": 151,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 46.154,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59585,
    "c": 0.10929,
    "h": 91.4
  },
  "luminance": 0.2111
}

Semantic roles & 50–950 ramp

primary
#977C22
secondary
#576FBE
accent
#68E642
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #977C22

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

Preview Lab → · Contrast checker → · Palette generator →

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