#87902A#87902A

#87902A is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.6% C 0.123 H 114.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#87902A
RGBrgb(135, 144, 42)
HSLhsl(65, 55%, 36%)
HSVhsv(65, 71%, 56%)
CMYKcmyk(6.2%, 0%, 70.8%, 43.5%)
CIE-LABlab(57.33, -16.81, 50.36)
CIE-LCHlch(57.33, 53.09, 108.46°)
OKLaboklab(62.64% -0.0509 0.1125)
OKLCHoklch(62.64% 0.124 114.4)
XYZxyz(20.3834, 25.2650, 5.9929)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87902A #332A90
analogous
#90662A #87902A #54902A
triadic
#87902A #2A8790 #902A87
tetradic
#87902A #2A9066 #332A90 #902A54
square
#87902A #2A9066 #332A90 #902A54
split-complementary
#87902A #2A5490 #662A90
monochromatic
#2E310E #5B611C #87902A #B3BF38 #C8D163

Accessibility & contrast

On white

3.47
#87902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#87902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87902A
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87902A#FFFFFF#000000##000000
##87902A1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8919
Deuteranopia (green-blind)
#9A8B32
Tritanopia (blue-blind)
#90877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #87902a;
/* rgb */ color: rgb(135, 144, 42);
/* oklch */ color: oklch(62.6% 0.123 114.4);
Tailwind
colors: {
  custom: {
    50: '#adb06a',
    500: '#87902a',
    950: '#000000',
  },
}
SCSS
$custom: #87902a;
$custom-light: #adb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#87902a",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 65.294,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62641,
    "c": 0.1235,
    "h": 114.4
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#87902A
secondary
#665EB7
accent
#4ADE57
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #87902A

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

Preview Lab → · Contrast checker → · Palette generator →

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