#977C1A#977C1A

#977C1A is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.114 H 92.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#977C1A
RGBrgb(151, 124, 26)
HSLhsl(47, 71%, 35%)
HSVhsv(47, 83%, 59%)
CMYKcmyk(0%, 17.9%, 82.8%, 40.8%)
CIE-LABlab(53.03, 0.65, 52.62)
CIE-LCHlch(53.03, 52.63, 89.30°)
OKLaboklab(59.54% -0.0043 0.1135)
OKLCHoklch(59.54% 0.114 92.2)
XYZxyz(20.1578, 21.0705, 3.9824)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977C1A #1A3597
analogous
#973E1A #977C1A #74971A
triadic
#977C1A #1A977C #7C1A97
tetradic
#977C1A #1A973E #1A3597 #971A74
square
#977C1A #1A973E #1A3597 #971A74
split-complementary
#977C1A #1A7497 #3E1A97
monochromatic
#2F2608 #635111 #977C1A #CBA723 #E0C04B

Accessibility & contrast

On white

4.03
#977C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#977C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977C1A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977C1A#FFFFFF#000000##000000
##977C1A1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#A4716A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #977c1a;
/* rgb */ color: rgb(151, 124, 26);
/* oklch */ color: oklch(59.5% 0.114 92.2);
Tailwind
colors: {
  custom: {
    50: '#baa160',
    500: '#977c1a',
    950: '#000000',
  },
}
SCSS
$custom: #977c1a;
$custom-light: #baa160;
$custom-dark: #000000;
JSON
{
  "hex": "#977c1a",
  "rgb": {
    "r": 151,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 47.04,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59536,
    "c": 0.11358,
    "h": 92.2
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#977C1A
secondary
#4B65C2
accent
#61ED3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #977C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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