#87B125#87B125

#87B125 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.5% C 0.166 H 125.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#87B125
RGBrgb(135, 177, 37)
HSLhsl(78, 65%, 42%)
HSVhsv(78, 79%, 69%)
CMYKcmyk(23.7%, 0%, 79.1%, 30.6%)
CIE-LABlab(67.07, -33.30, 61.37)
CIE-LCHlch(67.07, 69.82, 118.49°)
OKLaboklab(70.49% -0.0967 0.1349)
OKLCHoklch(70.49% 0.166 125.7)
XYZxyz(26.0479, 36.7284, 7.4669)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B125 #4F25B1
analogous
#B19525 #87B125 #41B125
triadic
#87B125 #2587B1 #B12587
tetradic
#87B125 #25B195 #4F25B1 #B12541
square
#87B125 #25B195 #4F25B1 #B12541
split-complementary
#87B125 #2541B1 #9525B1
monochromatic
#3A4C10 #607E1A #87B125 #A8D63D #BFE16F

Accessibility & contrast

On white

2.52
#87B125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#87B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B125
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B125#FFFFFF#000000##000000
##87B1251.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#8DA897
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #87b125;
/* rgb */ color: rgb(135, 177, 37);
/* oklch */ color: oklch(70.5% 0.166 125.7);
Tailwind
colors: {
  custom: {
    50: '#aec86c',
    500: '#87b125',
    950: '#000000',
  },
}
SCSS
$custom: #87b125;
$custom-light: #aec86c;
$custom-dark: #000000;
JSON
{
  "hex": "#87b125",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 78,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70487,
    "c": 0.16596,
    "h": 125.7
  },
  "luminance": 0.36729
}

Semantic roles & 50–950 ramp

primary
#87B125
secondary
#866AC8
accent
#3FE872
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B125

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

Preview Lab → · Contrast checker → · Palette generator →

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