#89971B#89971B

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

Color values

HEX#89971B
RGBrgb(137, 151, 27)
HSLhsl(67, 70%, 35%)
HSVhsv(67, 82%, 59%)
CMYKcmyk(9.3%, 0%, 82.1%, 40.8%)
CIE-LABlab(59.46, -20.23, 57.48)
CIE-LCHlch(59.46, 60.94, 109.39°)
OKLaboklab(64.36% -0.0618 0.1248)
OKLCHoklch(64.36% 0.139 116.4)
XYZxyz(21.5816, 27.5310, 5.2138)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89971B #291B97
analogous
#97671B #89971B #4B971B
triadic
#89971B #1B8997 #971B89
tetradic
#89971B #1B9767 #291B97 #971B4B
square
#89971B #1B9767 #291B97 #971B4B
split-complementary
#89971B #1B4B97 #671B97
monochromatic
#2B2F08 #5A6312 #89971B #B8CB24 #CFDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #89971b;
/* rgb */ color: rgb(137, 151, 27);
/* oklch */ color: oklch(64.4% 0.139 116.4);
Tailwind
colors: {
  custom: {
    50: '#afb564',
    500: '#89971b',
    950: '#000000',
  },
}
SCSS
$custom: #89971b;
$custom-light: #afb564;
$custom-dark: #000000;
JSON
{
  "hex": "#89971b",
  "rgb": {
    "r": 137,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 66.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64363,
    "c": 0.13931,
    "h": 116.4
  },
  "luminance": 0.27531
}

Semantic roles & 50–950 ramp

primary
#89971B
secondary
#5A4CC1
accent
#3BEC4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #89971B

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

Preview Lab → · Contrast checker → · Palette generator →

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