#977E2A#977E2A

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

Color values

HEX#977E2A
RGBrgb(151, 126, 42)
HSLhsl(46, 56%, 38%)
HSVhsv(46, 72%, 59%)
CMYKcmyk(0%, 16.6%, 72.2%, 40.8%)
CIE-LABlab(53.67, 0.22, 47.17)
CIE-LCHlch(53.67, 47.17, 89.73°)
OKLaboklab(60.08% -0.0037 0.1052)
OKLCHoklch(60.08% 0.105 92)
XYZxyz(20.6424, 21.6694, 5.2854)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E2A #2A4397
analogous
#97482A #977E2A #79972A
triadic
#977E2A #2A977E #7E2A97
tetradic
#977E2A #2A9748 #2A4397 #972A79
square
#977E2A #2A9748 #2A4397 #972A79
split-complementary
#977E2A #2A7997 #482A97
monochromatic
#372E0F #67561D #977E2A #C7A637 #D5BB67

Accessibility & contrast

On white

3.94
#977E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#977E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977E2A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977E2A#FFFFFF#000000##000000
##977E2A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#A3746D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977e2a;
/* rgb */ color: rgb(151, 126, 42);
/* oklch */ color: oklch(60.1% 0.105 92.0);
Tailwind
colors: {
  custom: {
    50: '#b9a369',
    500: '#977e2a',
    950: '#000000',
  },
}
SCSS
$custom: #977e2a;
$custom-light: #b9a369;
$custom-dark: #000000;
JSON
{
  "hex": "#977e2a",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 46.239,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.1053,
    "h": 92
  },
  "luminance": 0.21668
}

Semantic roles & 50–950 ramp

primary
#977E2A
secondary
#6276BB
accent
#6BE048
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #977E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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