#89871B#89871B

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

Color values

HEX#89871B
RGBrgb(137, 135, 27)
HSLhsl(59, 67%, 32%)
HSVhsv(59, 80%, 54%)
CMYKcmyk(0%, 1.5%, 80.3%, 46.3%)
CIE-LABlab(54.79, -11.86, 53.35)
CIE-LCHlch(54.79, 54.65, 102.53°)
OKLaboklab(60.62% -0.0386 0.116)
OKLCHoklch(60.62% 0.122 108.4)
XYZxyz(19.1791, 22.7261, 4.4130)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89871B #1B1D89
analogous
#89501B #89871B #54891B
triadic
#89871B #1B8987 #871B89
tetradic
#89871B #1B8950 #1B1D89 #891B54
square
#89871B #1B8950 #1B1D89 #891B54
split-complementary
#89871B #1B5489 #501B89
monochromatic
#232207 #565511 #89871B #BCB925 #DAD744

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##89871B#FFFFFF#000000##000000
##89871B1.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)
#938100
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#937E73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #89871b;
/* rgb */ color: rgb(137, 135, 27);
/* oklch */ color: oklch(60.6% 0.122 108.4);
Tailwind
colors: {
  custom: {
    50: '#afa962',
    500: '#89871b',
    950: '#000000',
  },
}
SCSS
$custom: #89871b;
$custom-light: #afa962;
$custom-dark: #000000;
JSON
{
  "hex": "#89871b",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 58.909,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.12225,
    "h": 108.4
  },
  "luminance": 0.22725
}

Semantic roles & 50–950 ramp

primary
#89871B
secondary
#4446BC
accent
#41EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #89871B

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

Preview Lab → · Contrast checker → · Palette generator →

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