#87901E#87901E

#87901E 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#87901E
RGBrgb(135, 144, 30)
HSLhsl(65, 66%, 34%)
HSVhsv(65, 79%, 56%)
CMYKcmyk(6.2%, 0%, 79.2%, 43.5%)
CIE-LABlab(57.26, -17.40, 54.57)
CIE-LCHlch(57.26, 57.27, 107.69°)
OKLaboklab(62.56% -0.0537 0.1192)
OKLCHoklch(62.56% 0.131 114.2)
XYZxyz(20.1999, 25.1916, 5.0264)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87901E #271E90
analogous
#90601E #87901E #4E901E
triadic
#87901E #1E8790 #901E87
tetradic
#87901E #1E9060 #271E90 #901E4E
square
#87901E #1E9060 #271E90 #901E4E
split-complementary
#87901E #1E4E90 #601E90
monochromatic
#282B09 #585D13 #87901E #B6C329 #CFDA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87901E#FFFFFF#000000##000000
##87901E1.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: #87901e;
/* rgb */ color: rgb(135, 144, 30);
/* oklch */ color: oklch(62.6% 0.131 114.2);
Tailwind
colors: {
  custom: {
    50: '#adb065',
    500: '#87901e',
    950: '#000000',
  },
}
SCSS
$custom: #87901e;
$custom-light: #adb065;
$custom-dark: #000000;
JSON
{
  "hex": "#87901e",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 64.737,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62561,
    "c": 0.13076,
    "h": 114.2
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#87901E
secondary
#564DBD
accent
#3FE84D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87901E

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

Preview Lab → · Contrast checker → · Palette generator →

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