#977E1C#977E1C

#977E1C is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.114 H 93.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#977E1C
RGBrgb(151, 126, 28)
HSLhsl(48, 69%, 35%)
HSVhsv(48, 81%, 59%)
CMYKcmyk(0%, 16.6%, 81.5%, 40.8%)
CIE-LABlab(53.59, -0.40, 52.46)
CIE-LCHlch(53.59, 52.46, 90.44°)
OKLaboklab(59.98% -0.0071 0.1136)
OKLCHoklch(59.98% 0.114 93.6)
XYZxyz(20.4341, 21.5861, 4.1886)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E1C #1C3597
analogous
#97411C #977E1C #72971C
triadic
#977E1C #1C977E #7E1C97
tetradic
#977E1C #1C9741 #1C3597 #971C72
square
#977E1C #1C9741 #1C3597 #971C72
split-complementary
#977E1C #1C7297 #411C97
monochromatic
#302809 #635312 #977E1C #CBA926 #DEC14F

Accessibility & contrast

On white

3.95
#977E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#977E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977E1C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977E1C#FFFFFF#000000##000000
##977E1C1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977e1c;
/* rgb */ color: rgb(151, 126, 28);
/* oklch */ color: oklch(60.0% 0.114 93.6);
Tailwind
colors: {
  custom: {
    50: '#baa362',
    500: '#977e1c',
    950: '#000000',
  },
}
SCSS
$custom: #977e1c;
$custom-light: #baa362;
$custom-dark: #000000;
JSON
{
  "hex": "#977e1c",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 47.805,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.1138,
    "h": 93.6
  },
  "luminance": 0.21585
}

Semantic roles & 50–950 ramp

primary
#977E1C
secondary
#4E65C1
accent
#60EC3C
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #977E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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