#977D2E#977D2E

#977D2E is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.9% C 0.102 H 90.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#977D2E
RGBrgb(151, 125, 46)
HSLhsl(45, 53%, 39%)
HSVhsv(45, 70%, 59%)
CMYKcmyk(0%, 17.2%, 69.5%, 40.8%)
CIE-LABlab(53.43, 1.01, 45.16)
CIE-LCHlch(53.43, 45.17, 88.72°)
OKLaboklab(59.9% -0.001 0.1017)
OKLCHoklch(59.9% 0.102 90.6)
XYZxyz(20.5903, 21.4450, 5.6390)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977D2E #2E4897
analogous
#97482E #977D2E #7C972E
triadic
#977D2E #2E977D #7D2E97
tetradic
#977D2E #2E9748 #2E4897 #972E7C
square
#977D2E #2E9748 #2E4897 #972E7C
split-complementary
#977D2E #2E7C97 #482E97
monochromatic
#392F11 #685620 #977D2E #C4A33E #D2B96D

Accessibility & contrast

On white

3.97
#977D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#977D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977D2E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977D2E#FFFFFF#000000##000000
##977D2E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#918332
Tritanopia (blue-blind)
#A3736D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977d2e;
/* rgb */ color: rgb(151, 125, 46);
/* oklch */ color: oklch(59.9% 0.102 90.6);
Tailwind
colors: {
  custom: {
    50: '#b9a26b',
    500: '#977d2e',
    950: '#000000',
  },
}
SCSS
$custom: #977d2e;
$custom-light: #b9a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#977d2e",
  "rgb": {
    "r": 151,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 45.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.10172,
    "h": 90.6
  },
  "luminance": 0.21444
}

Semantic roles & 50–950 ramp

primary
#977D2E
secondary
#677CBA
accent
#6FDD4B
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #977D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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