#977A1E#977A1E

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

Color values

HEX#977A1E
RGBrgb(151, 122, 30)
HSLhsl(46, 67%, 35%)
HSVhsv(46, 80%, 59%)
CMYKcmyk(0%, 19.2%, 80.1%, 40.8%)
CIE-LABlab(52.50, 1.92, 50.79)
CIE-LCHlch(52.50, 50.83, 87.84°)
OKLaboklab(59.13% -0.0003 0.1104)
OKLCHoklch(59.13% 0.11 90.1)
XYZxyz(19.9576, 20.5934, 4.1518)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977A1E #1E3B97
analogous
#973D1E #977A1E #77971E
triadic
#977A1E #1E977A #7A1E97
tetradic
#977A1E #1E973D #1E3B97 #971E77
square
#977A1E #1E973D #1E3B97 #971E77
split-complementary
#977A1E #1E7797 #3D1E97
monochromatic
#31270A #645114 #977A1E #CAA328 #DDBC53

Accessibility & contrast

On white

4.10
#977A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#977A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977A1E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977A1E#FFFFFF#000000##000000
##977A1E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#A46F69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #977a1e;
/* rgb */ color: rgb(151, 122, 30);
/* oklch */ color: oklch(59.1% 0.110 90.1);
Tailwind
colors: {
  custom: {
    50: '#baa062',
    500: '#977a1e',
    950: '#000000',
  },
}
SCSS
$custom: #977a1e;
$custom-light: #baa062;
$custom-dark: #000000;
JSON
{
  "hex": "#977a1e",
  "rgb": {
    "r": 151,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 45.62,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.11043,
    "h": 90.1
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#977A1E
secondary
#516CC0
accent
#67EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #977A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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