#977E1D#977E1D

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

Color values

HEX#977E1D
RGBrgb(151, 126, 29)
HSLhsl(48, 68%, 35%)
HSVhsv(48, 81%, 59%)
CMYKcmyk(0%, 16.6%, 80.8%, 40.8%)
CIE-LABlab(53.59, -0.37, 52.13)
CIE-LCHlch(53.59, 52.13, 90.40°)
OKLaboklab(59.99% -0.0069 0.1131)
OKLCHoklch(59.99% 0.113 93.5)
XYZxyz(20.4463, 21.5910, 4.2527)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E1D #1D3697
analogous
#97411D #977E1D #73971D
triadic
#977E1D #1D977E #7E1D97
tetradic
#977E1D #1D9741 #1D3697 #971D73
square
#977E1D #1D9741 #1D3697 #971D73
split-complementary
#977E1D #1D7397 #411D97
monochromatic
#302809 #645313 #977E1D #CAA927 #DEC151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##977E1D#FFFFFF#000000##000000
##977E1D1.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)
#8C7C06
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977e1d;
/* rgb */ color: rgb(151, 126, 29);
/* oklch */ color: oklch(60.0% 0.113 93.5);
Tailwind
colors: {
  custom: {
    50: '#baa362',
    500: '#977e1d',
    950: '#000000',
  },
}
SCSS
$custom: #977e1d;
$custom-light: #baa362;
$custom-dark: #000000;
JSON
{
  "hex": "#977e1d",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 47.705,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59986,
    "c": 0.11329,
    "h": 93.5
  },
  "luminance": 0.2159
}

Semantic roles & 50–950 ramp

primary
#977E1D
secondary
#4F67C0
accent
#61EB3D
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #977E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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