#87891E#87891E

#87891E is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.123 H 110.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#87891E
RGBrgb(135, 137, 30)
HSLhsl(61, 64%, 33%)
HSVhsv(61, 78%, 54%)
CMYKcmyk(1.5%, 0%, 78.1%, 46.3%)
CIE-LABlab(55.21, -13.72, 52.70)
CIE-LCHlch(55.21, 54.46, 104.59°)
OKLaboklab(60.92% -0.0435 0.1153)
OKLCHoklch(60.92% 0.123 110.7)
XYZxyz(19.1724, 23.1365, 4.6839)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87891E #201E89
analogous
#89551E #87891E #52891E
triadic
#87891E #1E8789 #891E87
tetradic
#87891E #1E8955 #201E89 #891E52
square
#87891E #1E8955 #201E89 #891E52
split-complementary
#87891E #1E5289 #551E89
monochromatic
#242508 #565713 #87891E #B8BB29 #D5D74A

Accessibility & contrast

On white

3.73
#87891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#87891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87891E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87891E#FFFFFF#000000##000000
##87891E1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948302
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #87891e;
/* rgb */ color: rgb(135, 137, 30);
/* oklch */ color: oklch(60.9% 0.123 110.7);
Tailwind
colors: {
  custom: {
    50: '#adab64',
    500: '#87891e',
    950: '#000000',
  },
}
SCSS
$custom: #87891e;
$custom-light: #adab64;
$custom-dark: #000000;
JSON
{
  "hex": "#87891e",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 61.121,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.12318,
    "h": 110.7
  },
  "luminance": 0.23136
}

Semantic roles & 50–950 ramp

primary
#87891E
secondary
#4B49BA
accent
#41E744
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87891E

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

Preview Lab → · Contrast checker → · Palette generator →

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