#977E1A#977E1A

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

Color values

HEX#977E1A
RGBrgb(151, 126, 26)
HSLhsl(48, 71%, 35%)
HSVhsv(48, 83%, 59%)
CMYKcmyk(0%, 16.6%, 82.8%, 40.8%)
CIE-LABlab(53.58, -0.47, 53.10)
CIE-LCHlch(53.58, 53.11, 90.51°)
OKLaboklab(59.97% -0.0075 0.1145)
OKLCHoklch(59.97% 0.115 93.7)
XYZxyz(20.4110, 21.5768, 4.0668)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E1A #1A3397
analogous
#97401A #977E1A #72971A
triadic
#977E1A #1A977E #7E1A97
tetradic
#977E1A #1A9740 #1A3397 #971A72
square
#977E1A #1A9740 #1A3397 #971A72
split-complementary
#977E1A #1A7297 #401A97
monochromatic
#2F2708 #635211 #977E1A #CBAA23 #E0C24B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##977E1A#FFFFFF#000000##000000
##977E1A1.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)
#8D7C00
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977e1a;
/* rgb */ color: rgb(151, 126, 26);
/* oklch */ color: oklch(60.0% 0.115 93.7);
Tailwind
colors: {
  custom: {
    50: '#baa361',
    500: '#977e1a',
    950: '#000000',
  },
}
SCSS
$custom: #977e1a;
$custom-light: #baa361;
$custom-dark: #000000;
JSON
{
  "hex": "#977e1a",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 48,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.11478,
    "h": 93.7
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#977E1A
secondary
#4B63C2
accent
#5EED3A
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #977E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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