#977C1E#977C1E

#977C1E is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.6% C 0.112 H 91.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#977C1E
RGBrgb(151, 124, 30)
HSLhsl(47, 67%, 35%)
HSVhsv(47, 80%, 59%)
CMYKcmyk(0%, 17.9%, 80.1%, 40.8%)
CIE-LABlab(53.05, 0.79, 51.29)
CIE-LCHlch(53.05, 51.29, 89.11°)
OKLaboklab(59.56% -0.0035 0.1115)
OKLCHoklch(59.56% 0.112 91.8)
XYZxyz(20.2057, 21.0896, 4.2345)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977C1E #1E3997
analogous
#97401E #977C1E #75971E
triadic
#977C1E #1E977C #7C1E97
tetradic
#977C1E #1E9740 #1E3997 #971E75
square
#977C1E #1E9740 #1E3997 #971E75
split-complementary
#977C1E #1E7597 #401E97
monochromatic
#31280A #645214 #977C1E #CAA628 #DDBE53

Accessibility & contrast

On white

4.02
#977C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#977C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977C1E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977C1E#FFFFFF#000000##000000
##977C1E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #977c1e;
/* rgb */ color: rgb(151, 124, 30);
/* oklch */ color: oklch(59.6% 0.112 91.8);
Tailwind
colors: {
  custom: {
    50: '#baa162',
    500: '#977c1e',
    950: '#000000',
  },
}
SCSS
$custom: #977c1e;
$custom-light: #baa162;
$custom-dark: #000000;
JSON
{
  "hex": "#977c1e",
  "rgb": {
    "r": 151,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 46.612,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.11155,
    "h": 91.8
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#977C1E
secondary
#516AC0
accent
#64EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #977C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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