#87902B#87902B

#87902B 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#87902B
RGBrgb(135, 144, 43)
HSLhsl(65, 54%, 37%)
HSVhsv(65, 70%, 56%)
CMYKcmyk(6.2%, 0%, 70.1%, 43.5%)
CIE-LABlab(57.34, -16.75, 49.97)
CIE-LCHlch(57.34, 52.70, 108.53°)
OKLaboklab(62.65% -0.0507 0.1119)
OKLCHoklch(62.65% 0.123 114.4)
XYZxyz(20.4015, 25.2722, 6.0883)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87902B #342B90
analogous
#90672B #87902B #54902B
triadic
#87902B #2B8790 #902B87
tetradic
#87902B #2B9067 #342B90 #902B54
square
#87902B #2B9067 #342B90 #902B54
split-complementary
#87902B #2B5490 #672B90
monochromatic
#2F320F #5B611D #87902B #B3BF39 #C7D165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87902B#FFFFFF#000000##000000
##87902B1.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)
#9B891B
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#90877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #87902b;
/* rgb */ color: rgb(135, 144, 43);
/* oklch */ color: oklch(62.6% 0.123 114.4);
Tailwind
colors: {
  custom: {
    50: '#adb06b',
    500: '#87902b',
    950: '#000000',
  },
}
SCSS
$custom: #87902b;
$custom-light: #adb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#87902b",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 65.347,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62648,
    "c": 0.1228,
    "h": 114.4
  },
  "luminance": 0.25272
}

Semantic roles & 50–950 ramp

primary
#87902B
secondary
#6760B7
accent
#4ADD58
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #87902B

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

Preview Lab → · Contrast checker → · Palette generator →

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