#977E1E#977E1E

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

Color values

HEX#977E1E
RGBrgb(151, 126, 30)
HSLhsl(48, 67%, 35%)
HSVhsv(48, 80%, 59%)
CMYKcmyk(0%, 16.6%, 80.1%, 40.8%)
CIE-LABlab(53.60, -0.33, 51.78)
CIE-LCHlch(53.60, 51.79, 90.36°)
OKLaboklab(59.99% -0.0067 0.1126)
OKLCHoklch(59.99% 0.113 93.4)
XYZxyz(20.4589, 21.5960, 4.3189)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E1E #1E3797
analogous
#97411E #977E1E #74971E
triadic
#977E1E #1E977E #7E1E97
tetradic
#977E1E #1E9741 #1E3797 #971E74
square
#977E1E #1E9741 #1E3797 #971E74
split-complementary
#977E1E #1E7497 #411E97
monochromatic
#31290A #645314 #977E1E #CAA928 #DDC053

Accessibility & contrast

On white

3.95
#977E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##977E1E#FFFFFF#000000##000000
##977E1E1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #977e1e;
/* rgb */ color: rgb(151, 126, 30);
/* oklch */ color: oklch(60.0% 0.113 93.4);
Tailwind
colors: {
  custom: {
    50: '#baa363',
    500: '#977e1e',
    950: '#000000',
  },
}
SCSS
$custom: #977e1e;
$custom-light: #baa363;
$custom-dark: #000000;
JSON
{
  "hex": "#977e1e",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 47.603,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.11277,
    "h": 93.4
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#977E1E
secondary
#5168C0
accent
#62EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #977E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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