#89871D#89871D

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

Color values

HEX#89871D
RGBrgb(137, 135, 29)
HSLhsl(59, 65%, 33%)
HSVhsv(59, 79%, 54%)
CMYKcmyk(0%, 1.5%, 78.8%, 46.3%)
CIE-LABlab(54.80, -11.78, 52.72)
CIE-LCHlch(54.80, 54.02, 102.59°)
OKLaboklab(60.63% -0.0383 0.115)
OKLCHoklch(60.63% 0.121 108.4)
XYZxyz(19.2030, 22.7357, 4.5390)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89871D #1D1F89
analogous
#89511D #89871D #55891D
triadic
#89871D #1D8987 #871D89
tetradic
#89871D #1D8951 #1D1F89 #891D55
square
#89871D #1D8951 #1D1F89 #891D55
split-complementary
#89871D #1D5589 #511D89
monochromatic
#242308 #565512 #89871D #BCB928 #D8D648

Accessibility & contrast

On white

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

On black

5.55
#89871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89871D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89871D#FFFFFF#000000##000000
##89871D1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #89871d;
/* rgb */ color: rgb(137, 135, 29);
/* oklch */ color: oklch(60.6% 0.121 108.4);
Tailwind
colors: {
  custom: {
    50: '#afa963',
    500: '#89871d',
    950: '#000000',
  },
}
SCSS
$custom: #89871d;
$custom-light: #afa963;
$custom-dark: #000000;
JSON
{
  "hex": "#89871d",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 58.889,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6063,
    "c": 0.12122,
    "h": 108.4
  },
  "luminance": 0.22735
}

Semantic roles & 50–950 ramp

primary
#89871D
secondary
#474ABA
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #89871D

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

Preview Lab → · Contrast checker → · Palette generator →

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