#977C1C#977C1C

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

Color values

HEX#977C1C
RGBrgb(151, 124, 28)
HSLhsl(47, 69%, 35%)
HSVhsv(47, 81%, 59%)
CMYKcmyk(0%, 17.9%, 81.5%, 40.8%)
CIE-LABlab(53.04, 0.72, 51.97)
CIE-LCHlch(53.04, 51.98, 89.21°)
OKLaboklab(59.55% -0.0039 0.1125)
OKLCHoklch(59.55% 0.113 92)
XYZxyz(20.1809, 21.0797, 4.1042)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977C1C #1C3797
analogous
#973E1C #977C1C #75971C
triadic
#977C1C #1C977C #7C1C97
tetradic
#977C1C #1C973E #1C3797 #971C75
square
#977C1C #1C973E #1C3797 #971C75
split-complementary
#977C1C #1C7597 #3E1C97
monochromatic
#302709 #635212 #977C1C #CBA626 #DEBF4F

Accessibility & contrast

On white

4.03
#977C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##977C1C#FFFFFF#000000##000000
##977C1C1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #977c1c;
/* rgb */ color: rgb(151, 124, 28);
/* oklch */ color: oklch(59.5% 0.113 92.0);
Tailwind
colors: {
  custom: {
    50: '#baa161',
    500: '#977c1c',
    950: '#000000',
  },
}
SCSS
$custom: #977c1c;
$custom-light: #baa161;
$custom-dark: #000000;
JSON
{
  "hex": "#977c1c",
  "rgb": {
    "r": 151,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 46.829,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.1126,
    "h": 92
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#977C1C
secondary
#4E67C1
accent
#63EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #977C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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