#89971A#89971A

#89971A is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.4% C 0.140 H 116.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#89971A
RGBrgb(137, 151, 26)
HSLhsl(67, 71%, 35%)
HSVhsv(67, 83%, 59%)
CMYKcmyk(9.3%, 0%, 82.8%, 40.8%)
CIE-LABlab(59.46, -20.27, 57.75)
CIE-LCHlch(59.46, 61.21, 109.34°)
OKLaboklab(64.36% -0.062 0.1252)
OKLCHoklch(64.36% 0.14 116.3)
XYZxyz(21.5702, 27.5265, 5.1539)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89971A #281A97
analogous
#97671A #89971A #4B971A
triadic
#89971A #1A8997 #971A89
tetradic
#89971A #1A9767 #281A97 #971A4B
square
#89971A #1A9767 #281A97 #971A4B
split-complementary
#89971A #1A4B97 #671A97
monochromatic
#2A2F08 #5A6311 #89971A #B8CB23 #CFE04B

Accessibility & contrast

On white

3.23
#89971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#89971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89971A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89971A#FFFFFF#000000##000000
##89971A1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#928E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #89971a;
/* rgb */ color: rgb(137, 151, 26);
/* oklch */ color: oklch(64.4% 0.140 116.3);
Tailwind
colors: {
  custom: {
    50: '#afb564',
    500: '#89971a',
    950: '#000000',
  },
}
SCSS
$custom: #89971a;
$custom-light: #afb564;
$custom-dark: #000000;
JSON
{
  "hex": "#89971a",
  "rgb": {
    "r": 137,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 66.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64358,
    "c": 0.13975,
    "h": 116.3
  },
  "luminance": 0.27526
}

Semantic roles & 50–950 ramp

primary
#89971A
secondary
#584BC2
accent
#3AED4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #89971A

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

Preview Lab → · Contrast checker → · Palette generator →

#89971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva