#87901D#87901D

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

Color values

HEX#87901D
RGBrgb(135, 144, 29)
HSLhsl(65, 66%, 34%)
HSVhsv(65, 80%, 56%)
CMYKcmyk(6.2%, 0%, 79.9%, 43.5%)
CIE-LABlab(57.26, -17.44, 54.88)
CIE-LCHlch(57.26, 57.58, 107.63°)
OKLaboklab(62.56% -0.0539 0.1197)
OKLCHoklch(62.56% 0.131 114.2)
XYZxyz(20.1873, 25.1865, 4.9602)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87901D #261D90
analogous
#90601D #87901D #4E901D
triadic
#87901D #1D8790 #901D87
tetradic
#87901D #1D9060 #261D90 #901D4E
square
#87901D #1D9060 #261D90 #901D4E
split-complementary
#87901D #1D4E90 #601D90
monochromatic
#272A08 #575D13 #87901D #B7C327 #D0DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87901D#FFFFFF#000000##000000
##87901D1.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)
#9B8900
Deuteranopia (green-blind)
#9B8A28
Tritanopia (blue-blind)
#90877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #87901d;
/* rgb */ color: rgb(135, 144, 29);
/* oklch */ color: oklch(62.6% 0.131 114.2);
Tailwind
colors: {
  custom: {
    50: '#adb064',
    500: '#87901d',
    950: '#000000',
  },
}
SCSS
$custom: #87901d;
$custom-light: #adb064;
$custom-dark: #000000;
JSON
{
  "hex": "#87901d",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 64.696,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62556,
    "c": 0.13127,
    "h": 114.2
  },
  "luminance": 0.25186
}

Semantic roles & 50–950 ramp

primary
#87901D
secondary
#544BBD
accent
#3EE94C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87901D

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

Preview Lab → · Contrast checker → · Palette generator →

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