#977A1A#977A1A

#977A1A is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.1% C 0.112 H 90.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#977A1A
RGBrgb(151, 122, 26)
HSLhsl(46, 71%, 35%)
HSVhsv(46, 83%, 59%)
CMYKcmyk(0%, 19.2%, 82.8%, 40.8%)
CIE-LABlab(52.48, 1.77, 52.14)
CIE-LCHlch(52.48, 52.17, 88.05°)
OKLaboklab(59.11% -0.0011 0.1125)
OKLCHoklch(59.11% 0.112 90.6)
XYZxyz(19.9097, 20.5743, 3.8997)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977A1A #1A3797
analogous
#973C1A #977A1A #76971A
triadic
#977A1A #1A977A #7A1A97
tetradic
#977A1A #1A973C #1A3797 #971A76
square
#977A1A #1A973C #1A3797 #971A76
split-complementary
#977A1A #1A7697 #3C1A97
monochromatic
#2F2608 #635011 #977A1A #CBA423 #E0BE4B

Accessibility & contrast

On white

4.11
#977A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#977A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977A1A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977A1A#FFFFFF#000000##000000
##977A1A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897801
Deuteranopia (green-blind)
#908120
Tritanopia (blue-blind)
#A46F68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #977a1a;
/* rgb */ color: rgb(151, 122, 26);
/* oklch */ color: oklch(59.1% 0.112 90.6);
Tailwind
colors: {
  custom: {
    50: '#baa060',
    500: '#977a1a',
    950: '#000000',
  },
}
SCSS
$custom: #977a1a;
$custom-light: #baa060;
$custom-dark: #000000;
JSON
{
  "hex": "#977a1a",
  "rgb": {
    "r": 151,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 46.08,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.11247,
    "h": 90.6
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#977A1A
secondary
#4B66C2
accent
#64ED3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #977A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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