#87901C#87901C

#87901C 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#87901C
RGBrgb(135, 144, 28)
HSLhsl(65, 67%, 34%)
HSVhsv(65, 81%, 56%)
CMYKcmyk(6.2%, 0%, 80.6%, 43.5%)
CIE-LABlab(57.25, -17.48, 55.18)
CIE-LCHlch(57.25, 57.88, 107.58°)
OKLaboklab(62.55% -0.0541 0.1202)
OKLCHoklch(62.55% 0.132 114.2)
XYZxyz(20.1752, 25.1817, 4.8961)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87901C #251C90
analogous
#905F1C #87901C #4D901C
triadic
#87901C #1C8790 #901C87
tetradic
#87901C #1C905F #251C90 #901C4D
square
#87901C #1C905F #251C90 #901C4D
split-complementary
#87901C #1C4D90 #5F1C90
monochromatic
#272A08 #575D12 #87901C #B7C326 #D1DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87901C#FFFFFF#000000##000000
##87901C1.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)
#9B8A27
Tritanopia (blue-blind)
#90877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #87901c;
/* rgb */ color: rgb(135, 144, 28);
/* oklch */ color: oklch(62.5% 0.132 114.2);
Tailwind
colors: {
  custom: {
    50: '#adb064',
    500: '#87901c',
    950: '#000000',
  },
}
SCSS
$custom: #87901c;
$custom-light: #adb064;
$custom-dark: #000000;
JSON
{
  "hex": "#87901c",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 64.655,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.6255,
    "c": 0.13176,
    "h": 114.2
  },
  "luminance": 0.25181
}

Semantic roles & 50–950 ramp

primary
#87901C
secondary
#534ABE
accent
#3DEA4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87901C

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

Preview Lab → · Contrast checker → · Palette generator →

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