#87B248#87B248

#87B248 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.0% C 0.143 H 128.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#87B248
RGBrgb(135, 178, 72)
HSLhsl(84, 42%, 49%)
HSVhsv(84, 60%, 70%)
CMYKcmyk(24.2%, 0%, 59.6%, 30.2%)
CIE-LABlab(67.62, -31.42, 48.46)
CIE-LCHlch(67.62, 57.75, 122.95°)
OKLaboklab(71.01% -0.0886 0.1127)
OKLCHoklch(71.01% 0.143 128.2)
XYZxyz(27.0817, 37.4590, 11.9331)
Luminance0.3746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B248 #7348B2
analogous
#B2A848 #87B248 #52B248
triadic
#87B248 #4887B2 #B24887
tetradic
#87B248 #48B2A8 #7348B2 #B24852
square
#87B248 #48B2A8 #7348B2 #B24852
split-complementary
#87B248 #4852B2 #A848B2
monochromatic
#455B25 #668636 #87B248 #A4C671 #C0D79D

Accessibility & contrast

On white

2.47
#87B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#87B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B248
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B248#FFFFFF#000000##000000
##87B2481.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73C
Deuteranopia (green-blind)
#B4A44F
Tritanopia (blue-blind)
#8BAB9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b248;
/* rgb */ color: rgb(135, 178, 72);
/* oklch */ color: oklch(71.0% 0.143 128.2);
Tailwind
colors: {
  custom: {
    50: '#adc97f',
    500: '#87b248',
    950: '#000000',
  },
}
SCSS
$custom: #87b248;
$custom-light: #adc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#87b248",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 84.34,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.14336,
    "h": 128.2
  },
  "luminance": 0.3746
}

Semantic roles & 50–950 ramp

primary
#87B248
secondary
#A692C4
accent
#56D288
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87B248

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

Preview Lab → · Contrast checker → · Palette generator →

#87B248 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva