#977E2E#977E2E

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

Color values

HEX#977E2E
RGBrgb(151, 126, 46)
HSLhsl(46, 53%, 39%)
HSVhsv(46, 70%, 59%)
CMYKcmyk(0%, 16.6%, 69.5%, 40.8%)
CIE-LABlab(53.71, 0.45, 45.45)
CIE-LCHlch(53.71, 45.45, 89.43°)
OKLaboklab(60.11% -0.0026 0.1023)
OKLCHoklch(60.11% 0.102 91.5)
XYZxyz(20.7176, 21.6995, 5.6814)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E2E #2E4797
analogous
#97492E #977E2E #7B972E
triadic
#977E2E #2E977E #7E2E97
tetradic
#977E2E #2E9749 #2E4797 #972E7B
square
#977E2E #2E9749 #2E4797 #972E7B
split-complementary
#977E2E #2E7B97 #492E97
monochromatic
#393011 #685720 #977E2E #C4A43E #D2BA6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##977E2E#FFFFFF#000000##000000
##977E2E1.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)
#8C7C24
Deuteranopia (green-blind)
#928332
Tritanopia (blue-blind)
#A3746D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977e2e;
/* rgb */ color: rgb(151, 126, 46);
/* oklch */ color: oklch(60.1% 0.102 91.5);
Tailwind
colors: {
  custom: {
    50: '#b9a36b',
    500: '#977e2e',
    950: '#000000',
  },
}
SCSS
$custom: #977e2e;
$custom-light: #b9a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#977e2e",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 45.714,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.10236,
    "h": 91.5
  },
  "luminance": 0.21698
}

Semantic roles & 50–950 ramp

primary
#977E2E
secondary
#677BBA
accent
#6EDD4B
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #977E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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