#977E2D#977E2D

#977E2D is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.1% C 0.103 H 91.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#977E2D
RGBrgb(151, 126, 45)
HSLhsl(46, 54%, 38%)
HSVhsv(46, 70%, 59%)
CMYKcmyk(0%, 16.6%, 70.2%, 40.8%)
CIE-LABlab(53.70, 0.39, 45.89)
CIE-LCHlch(53.70, 45.89, 89.51°)
OKLaboklab(60.11% -0.0029 0.1031)
OKLCHoklch(60.11% 0.103 91.6)
XYZxyz(20.6981, 21.6917, 5.5788)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E2D #2D4697
analogous
#97492D #977E2D #7B972D
triadic
#977E2D #2D977E #7E2D97
tetradic
#977E2D #2D9749 #2D4697 #972D7B
square
#977E2D #2D9749 #2D4697 #972D7B
split-complementary
#977E2D #2D7B97 #492D97
monochromatic
#392F11 #68571F #977E2D #C5A53C #D3BB6B

Accessibility & contrast

On white

3.93
#977E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#977E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977E2D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977E2D#FFFFFF#000000##000000
##977E2D1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C22
Deuteranopia (green-blind)
#928331
Tritanopia (blue-blind)
#A3746D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977e2d;
/* rgb */ color: rgb(151, 126, 45);
/* oklch */ color: oklch(60.1% 0.103 91.6);
Tailwind
colors: {
  custom: {
    50: '#b9a36b',
    500: '#977e2d',
    950: '#000000',
  },
}
SCSS
$custom: #977e2d;
$custom-light: #b9a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#977e2d",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 45.849,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.10311,
    "h": 91.6
  },
  "luminance": 0.2169
}

Semantic roles & 50–950 ramp

primary
#977E2D
secondary
#667ABA
accent
#6DDD4A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #977E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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