#977D1C#977D1C

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

Color values

HEX#977D1C
RGBrgb(151, 125, 28)
HSLhsl(47, 69%, 35%)
HSVhsv(47, 81%, 59%)
CMYKcmyk(0%, 17.2%, 81.5%, 40.8%)
CIE-LABlab(53.31, 0.16, 52.21)
CIE-LCHlch(53.31, 52.21, 89.83°)
OKLaboklab(59.76% -0.0055 0.1131)
OKLCHoklch(59.76% 0.113 92.8)
XYZxyz(20.3069, 21.3316, 4.1462)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977D1C #1C3697
analogous
#973F1C #977D1C #73971C
triadic
#977D1C #1C977D #7D1C97
tetradic
#977D1C #1C973F #1C3697 #971C73
square
#977D1C #1C973F #1C3697 #971C73
split-complementary
#977D1C #1C7397 #3F1C97
monochromatic
#302809 #635212 #977D1C #CBA826 #DEC04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##977D1C#FFFFFF#000000##000000
##977D1C1.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)
#8C7B04
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#A4726B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #977d1c;
/* rgb */ color: rgb(151, 125, 28);
/* oklch */ color: oklch(59.8% 0.113 92.8);
Tailwind
colors: {
  custom: {
    50: '#baa261',
    500: '#977d1c',
    950: '#000000',
  },
}
SCSS
$custom: #977d1c;
$custom-light: #baa261;
$custom-dark: #000000;
JSON
{
  "hex": "#977d1c",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 47.317,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59764,
    "c": 0.11319,
    "h": 92.8
  },
  "luminance": 0.2133
}

Semantic roles & 50–950 ramp

primary
#977D1C
secondary
#4E66C1
accent
#61EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #977D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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