#87901A#87901A

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

Color values

HEX#87901A
RGBrgb(135, 144, 26)
HSLhsl(65, 69%, 33%)
HSVhsv(65, 82%, 56%)
CMYKcmyk(6.2%, 0%, 81.9%, 43.5%)
CIE-LABlab(57.24, -17.56, 55.76)
CIE-LCHlch(57.24, 58.45, 107.48°)
OKLaboklab(62.54% -0.0544 0.121)
OKLCHoklch(62.54% 0.133 114.2)
XYZxyz(20.1520, 25.1724, 4.7743)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87901A #231A90
analogous
#905E1A #87901A #4C901A
triadic
#87901A #1A8790 #901A87
tetradic
#87901A #1A905E #231A90 #901A4C
square
#87901A #1A905E #231A90 #901A4C
split-complementary
#87901A #1A4C90 #5E1A90
monochromatic
#262807 #565C11 #87901A #B8C423 #D2DE47

Accessibility & contrast

On white

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

On black

6.03
#87901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87901A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87901A#FFFFFF#000000##000000
##87901A1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.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: #87901a;
/* rgb */ color: rgb(135, 144, 26);
/* oklch */ color: oklch(62.5% 0.133 114.2);
Tailwind
colors: {
  custom: {
    50: '#adb063',
    500: '#87901a',
    950: '#000000',
  },
}
SCSS
$custom: #87901a;
$custom-light: #adb063;
$custom-dark: #000000;
JSON
{
  "hex": "#87901a",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 64.576,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6254,
    "c": 0.13271,
    "h": 114.2
  },
  "luminance": 0.25172
}

Semantic roles & 50–950 ramp

primary
#87901A
secondary
#5047BF
accent
#3CEC49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87901A

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

Preview Lab → · Contrast checker → · Palette generator →

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