#89871A#89871A

#89871A is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.123 H 108.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#89871A
RGBrgb(137, 135, 26)
HSLhsl(59, 68%, 32%)
HSVhsv(59, 81%, 54%)
CMYKcmyk(0%, 1.5%, 81%, 46.3%)
CIE-LABlab(54.78, -11.89, 53.65)
CIE-LCHlch(54.78, 54.96, 102.50°)
OKLaboklab(60.61% -0.0388 0.1164)
OKLCHoklch(60.61% 0.123 108.4)
XYZxyz(19.1677, 22.7215, 4.3531)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89871A #1A1C89
analogous
#89501A #89871A #54891A
triadic
#89871A #1A8987 #871A89
tetradic
#89871A #1A8950 #1A1C89 #891A54
square
#89871A #1A8950 #1A1C89 #891A54
split-complementary
#89871A #1A5489 #501A89
monochromatic
#222206 #565410 #89871A #BCBA24 #DBD842

Accessibility & contrast

On white

3.79
#89871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#89871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89871A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89871A#FFFFFF#000000##000000
##89871A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#937E73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #89871a;
/* rgb */ color: rgb(137, 135, 26);
/* oklch */ color: oklch(60.6% 0.123 108.4);
Tailwind
colors: {
  custom: {
    50: '#afa962',
    500: '#89871a',
    950: '#000000',
  },
}
SCSS
$custom: #89871a;
$custom-light: #afa962;
$custom-dark: #000000;
JSON
{
  "hex": "#89871a",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 58.919,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.12275,
    "h": 108.4
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#89871A
secondary
#4345BC
accent
#40EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #89871A

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

Preview Lab → · Contrast checker → · Palette generator →

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