#87901F#87901F

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

Color values

HEX#87901F
RGBrgb(135, 144, 31)
HSLhsl(65, 65%, 34%)
HSVhsv(65, 78%, 56%)
CMYKcmyk(6.2%, 0%, 78.5%, 43.5%)
CIE-LABlab(57.27, -17.36, 54.25)
CIE-LCHlch(57.27, 56.96, 107.74°)
OKLaboklab(62.57% -0.0535 0.1188)
OKLCHoklch(62.57% 0.13 114.2)
XYZxyz(20.2129, 25.1967, 5.0947)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87901F #281F90
analogous
#90611F #87901F #4F901F
triadic
#87901F #1F8790 #901F87
tetradic
#87901F #1F9061 #281F90 #901F4F
square
#87901F #1F9061 #281F90 #901F4F
split-complementary
#87901F #1F4F90 #611F90
monochromatic
#292B09 #585E14 #87901F #B6C22A #CED950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87901f;
/* rgb */ color: rgb(135, 144, 31);
/* oklch */ color: oklch(62.6% 0.130 114.2);
Tailwind
colors: {
  custom: {
    50: '#adb065',
    500: '#87901f',
    950: '#000000',
  },
}
SCSS
$custom: #87901f;
$custom-light: #adb065;
$custom-dark: #000000;
JSON
{
  "hex": "#87901f",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 64.779,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62567,
    "c": 0.13024,
    "h": 114.2
  },
  "luminance": 0.25196
}

Semantic roles & 50–950 ramp

primary
#87901F
secondary
#574EBC
accent
#40E84E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87901F

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

Preview Lab → · Contrast checker → · Palette generator →

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