#89971F#89971F

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

Color values

HEX#89971F
RGBrgb(137, 151, 31)
HSLhsl(67, 66%, 36%)
HSVhsv(67, 79%, 59%)
CMYKcmyk(9.3%, 0%, 79.5%, 40.8%)
CIE-LABlab(59.48, -20.08, 56.32)
CIE-LCHlch(59.48, 59.79, 109.62°)
OKLaboklab(64.38% -0.0611 0.1231)
OKLCHoklch(64.38% 0.137 116.4)
XYZxyz(21.6310, 27.5508, 5.4744)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89971F #2D1F97
analogous
#97691F #89971F #4D971F
triadic
#89971F #1F8997 #971F89
tetradic
#89971F #1F9769 #2D1F97 #971F4D
square
#89971F #1F9769 #2D1F97 #971F4D
split-complementary
#89971F #1F4D97 #691F97
monochromatic
#2D310A #5B6415 #89971F #B7CA29 #CCDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##89971F#FFFFFF#000000##000000
##89971F1.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)
#A1902A
Tritanopia (blue-blind)
#928E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #89971f;
/* rgb */ color: rgb(137, 151, 31);
/* oklch */ color: oklch(64.4% 0.137 116.4);
Tailwind
colors: {
  custom: {
    50: '#afb566',
    500: '#89971f',
    950: '#000000',
  },
}
SCSS
$custom: #89971f;
$custom-light: #afb566;
$custom-dark: #000000;
JSON
{
  "hex": "#89971f",
  "rgb": {
    "r": 137,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 67,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.13741,
    "h": 116.4
  },
  "luminance": 0.27551
}

Semantic roles & 50–950 ramp

primary
#89971F
secondary
#5F52BF
accent
#3FE953
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #89971F

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

Preview Lab → · Contrast checker → · Palette generator →

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