#89871C#89871C

#89871C 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#89871C
RGBrgb(137, 135, 28)
HSLhsl(59, 66%, 32%)
HSVhsv(59, 80%, 54%)
CMYKcmyk(0%, 1.5%, 79.6%, 46.3%)
CIE-LABlab(54.79, -11.82, 53.04)
CIE-LCHlch(54.79, 54.34, 102.56°)
OKLaboklab(60.62% -0.0385 0.1155)
OKLCHoklch(60.62% 0.122 108.4)
XYZxyz(19.1909, 22.7308, 4.4750)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89871C #1C1E89
analogous
#89501C #89871C #55891C
triadic
#89871C #1C8987 #871C89
tetradic
#89871C #1C8950 #1C1E89 #891C55
square
#89871C #1C8950 #1C1E89 #891C55
split-complementary
#89871C #1C5589 #501C89
monochromatic
#232307 #565512 #89871C #BCB926 #D9D746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##89871C#FFFFFF#000000##000000
##89871C1.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)
#948525
Tritanopia (blue-blind)
#937E73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #89871c;
/* rgb */ color: rgb(137, 135, 28);
/* oklch */ color: oklch(60.6% 0.122 108.4);
Tailwind
colors: {
  custom: {
    50: '#afa962',
    500: '#89871c',
    950: '#000000',
  },
}
SCSS
$custom: #89871c;
$custom-light: #afa962;
$custom-dark: #000000;
JSON
{
  "hex": "#89871c",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 58.899,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.12174,
    "h": 108.4
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#89871C
secondary
#4648BB
accent
#42E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #89871C

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

Preview Lab → · Contrast checker → · Palette generator →

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