#977D1E#977D1E

#977D1E is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.112 H 92.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#977D1E
RGBrgb(151, 125, 30)
HSLhsl(47, 67%, 35%)
HSVhsv(47, 80%, 59%)
CMYKcmyk(0%, 17.2%, 80.1%, 40.8%)
CIE-LABlab(53.32, 0.23, 51.54)
CIE-LCHlch(53.32, 51.54, 89.74°)
OKLaboklab(59.78% -0.0051 0.112)
OKLCHoklch(59.78% 0.112 92.6)
XYZxyz(20.3316, 21.3415, 4.2765)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977D1E #1E3897
analogous
#97401E #977D1E #75971E
triadic
#977D1E #1E977D #7D1E97
tetradic
#977D1E #1E9740 #1E3897 #971E75
square
#977D1E #1E9740 #1E3897 #971E75
split-complementary
#977D1E #1E7597 #401E97
monochromatic
#31280A #645314 #977D1E #CAA728 #DDBF53

Accessibility & contrast

On white

3.99
#977D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#977D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977D1E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977D1E#FFFFFF#000000##000000
##977D1E1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B09
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#A4726B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #977d1e;
/* rgb */ color: rgb(151, 125, 30);
/* oklch */ color: oklch(59.8% 0.112 92.6);
Tailwind
colors: {
  custom: {
    50: '#baa262',
    500: '#977d1e',
    950: '#000000',
  },
}
SCSS
$custom: #977d1e;
$custom-light: #baa262;
$custom-dark: #000000;
JSON
{
  "hex": "#977d1e",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 47.107,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.11215,
    "h": 92.6
  },
  "luminance": 0.2134
}

Semantic roles & 50–950 ramp

primary
#977D1E
secondary
#5169C0
accent
#63EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #977D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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