#977F1E#977F1E

#977F1E is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.2% C 0.113 H 94.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#977F1E
RGBrgb(151, 127, 30)
HSLhsl(48, 67%, 35%)
HSVhsv(48, 80%, 59%)
CMYKcmyk(0%, 15.9%, 80.1%, 40.8%)
CIE-LABlab(53.87, -0.89, 52.03)
CIE-LCHlch(53.87, 52.04, 90.98°)
OKLaboklab(60.21% -0.0083 0.1131)
OKLCHoklch(60.21% 0.113 94.2)
XYZxyz(20.5874, 21.8530, 4.3617)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977F1E #1E3697
analogous
#97421E #977F1E #72971E
triadic
#977F1E #1E977F #7F1E97
tetradic
#977F1E #1E9742 #1E3697 #971E72
square
#977F1E #1E9742 #1E3697 #971E72
split-complementary
#977F1E #1E7297 #421E97
monochromatic
#31290A #645414 #977F1E #CAAA28 #DDC153

Accessibility & contrast

On white

3.91
#977F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#977F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977F1E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977F1E#FFFFFF#000000##000000
##977F1E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D07
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#A4746D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #977f1e;
/* rgb */ color: rgb(151, 127, 30);
/* oklch */ color: oklch(60.2% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#baa363',
    500: '#977f1e',
    950: '#000000',
  },
}
SCSS
$custom: #977f1e;
$custom-light: #baa363;
$custom-dark: #000000;
JSON
{
  "hex": "#977f1e",
  "rgb": {
    "r": 151,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 48.099,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60209,
    "c": 0.1134,
    "h": 94.2
  },
  "luminance": 0.21852
}

Semantic roles & 50–950 ramp

primary
#977F1E
secondary
#5167C0
accent
#60EA3E
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #977F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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