#87901B#87901B

#87901B is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.5% C 0.132 H 114.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#87901B
RGBrgb(135, 144, 27)
HSLhsl(65, 68%, 34%)
HSVhsv(65, 81%, 56%)
CMYKcmyk(6.2%, 0%, 81.3%, 43.5%)
CIE-LABlab(57.25, -17.52, 55.47)
CIE-LCHlch(57.25, 58.17, 107.53°)
OKLaboklab(62.54% -0.0542 0.1206)
OKLCHoklch(62.54% 0.132 114.2)
XYZxyz(20.1634, 25.1770, 4.8342)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87901B #241B90
analogous
#905E1B #87901B #4C901B
triadic
#87901B #1B8790 #901B87
tetradic
#87901B #1B905E #241B90 #901B4C
square
#87901B #1B905E #241B90 #901B4C
split-complementary
#87901B #1B4C90 #5E1B90
monochromatic
#262908 #575C11 #87901B #B7C425 #D1DD49

Accessibility & contrast

On white

3.48
#87901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#87901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87901B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87901B#FFFFFF#000000##000000
##87901B1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#90877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #87901b;
/* rgb */ color: rgb(135, 144, 27);
/* oklch */ color: oklch(62.5% 0.132 114.2);
Tailwind
colors: {
  custom: {
    50: '#adb063',
    500: '#87901b',
    950: '#000000',
  },
}
SCSS
$custom: #87901b;
$custom-light: #adb063;
$custom-dark: #000000;
JSON
{
  "hex": "#87901b",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 64.615,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62545,
    "c": 0.13224,
    "h": 114.2
  },
  "luminance": 0.25177
}

Semantic roles & 50–950 ramp

primary
#87901B
secondary
#5148BF
accent
#3DEB4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87901B

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

Preview Lab → · Contrast checker → · Palette generator →

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