#977E22#977E22

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

Color values

HEX#977E22
RGBrgb(151, 126, 34)
HSLhsl(47, 63%, 36%)
HSVhsv(47, 77%, 59%)
CMYKcmyk(0%, 16.6%, 77.5%, 40.8%)
CIE-LABlab(53.62, -0.16, 50.35)
CIE-LCHlch(53.62, 50.35, 90.19°)
OKLaboklab(60.02% -0.0058 0.1104)
OKLCHoklch(60.02% 0.111 93)
XYZxyz(20.5132, 21.6177, 4.6052)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E22 #223B97
analogous
#974422 #977E22 #769722
triadic
#977E22 #22977E #7E2297
tetradic
#977E22 #229744 #223B97 #972276
square
#977E22 #229744 #223B97 #972276
split-complementary
#977E22 #227697 #442297
monochromatic
#332B0C #655417 #977E22 #C9A82D #DABE5A

Accessibility & contrast

On white

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

On black

5.32
#977E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977E22
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977E22#FFFFFF#000000##000000
##977E221.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #977e22;
/* rgb */ color: rgb(151, 126, 34);
/* oklch */ color: oklch(60.0% 0.111 93.0);
Tailwind
colors: {
  custom: {
    50: '#b9a364',
    500: '#977e22',
    950: '#000000',
  },
}
SCSS
$custom: #977e22;
$custom-light: #b9a364;
$custom-dark: #000000;
JSON
{
  "hex": "#977e22",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 47.179,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.11051,
    "h": 93
  },
  "luminance": 0.21617
}

Semantic roles & 50–950 ramp

primary
#977E22
secondary
#576DBE
accent
#65E642
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #977E22

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

Preview Lab → · Contrast checker → · Palette generator →

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