#89981F#89981F

#89981F is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.6% C 0.139 H 116.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#89981F
RGBrgb(137, 152, 31)
HSLhsl(67, 66%, 36%)
HSVhsv(67, 80%, 60%)
CMYKcmyk(9.9%, 0%, 79.6%, 40.4%)
CIE-LABlab(59.77, -20.59, 56.59)
CIE-LCHlch(59.77, 60.22, 109.99°)
OKLaboklab(64.62% -0.0625 0.1236)
OKLCHoklch(64.62% 0.139 116.8)
XYZxyz(21.7927, 27.8741, 5.5283)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89981F #2E1F98
analogous
#986A1F #89981F #4C981F
triadic
#89981F #1F8998 #981F89
tetradic
#89981F #1F986A #2E1F98 #981F4C
square
#89981F #1F986A #2E1F98 #981F4C
split-complementary
#89981F #1F4C98 #6A1F98
monochromatic
#2D320A #5B6515 #89981F #B7CB29 #CCDC55

Accessibility & contrast

On white

3.19
#89981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#89981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89981F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89981F#FFFFFF#000000##000000
##89981F1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#928F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #89981f;
/* rgb */ color: rgb(137, 152, 31);
/* oklch */ color: oklch(64.6% 0.139 116.8);
Tailwind
colors: {
  custom: {
    50: '#afb666',
    500: '#89981f',
    950: '#000000',
  },
}
SCSS
$custom: #89981f;
$custom-light: #afb666;
$custom-dark: #000000;
JSON
{
  "hex": "#89981f",
  "rgb": {
    "r": 137,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 67.438,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.13854,
    "h": 116.8
  },
  "luminance": 0.27874
}

Semantic roles & 50–950 ramp

primary
#89981F
secondary
#6053C0
accent
#3FE954
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #89981F

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

Preview Lab → · Contrast checker → · Palette generator →

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