#89871E#89871E

#89871E 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#89871E
RGBrgb(137, 135, 30)
HSLhsl(59, 64%, 33%)
HSVhsv(59, 78%, 54%)
CMYKcmyk(0%, 1.5%, 78.1%, 46.3%)
CIE-LABlab(54.80, -11.74, 52.39)
CIE-LCHlch(54.80, 53.69, 102.63°)
OKLaboklab(60.64% -0.0381 0.1145)
OKLCHoklch(60.64% 0.121 108.4)
XYZxyz(19.2156, 22.7407, 4.6052)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89871E #1E2089
analogous
#89521E #89871E #55891E
triadic
#89871E #1E8987 #871E89
tetradic
#89871E #1E8952 #1E2089 #891E55
square
#89871E #1E8952 #1E2089 #891E55
split-complementary
#89871E #1E5589 #521E89
monochromatic
#252408 #575613 #89871E #BBB829 #D7D54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##89871E#FFFFFF#000000##000000
##89871E1.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)
#938103
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#937E73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #89871e;
/* rgb */ color: rgb(137, 135, 30);
/* oklch */ color: oklch(60.6% 0.121 108.4);
Tailwind
colors: {
  custom: {
    50: '#afa963',
    500: '#89871e',
    950: '#000000',
  },
}
SCSS
$custom: #89871e;
$custom-light: #afa963;
$custom-dark: #000000;
JSON
{
  "hex": "#89871e",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 58.879,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.12068,
    "h": 108.4
  },
  "luminance": 0.2274
}

Semantic roles & 50–950 ramp

primary
#89871E
secondary
#494BBA
accent
#44E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #89871E

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

Preview Lab → · Contrast checker → · Palette generator →

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