#A5C87F#A5C87F

#A5C87F is a light, moderate yellow-green. Relative luminance 0.508; OKLCH L 79.0% C 0.105 H 129.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#A5C87F
RGBrgb(165, 200, 127)
HSLhsl(89, 40%, 64%)
HSVhsv(89, 37%, 78%)
CMYKcmyk(17.5%, 0%, 36.5%, 21.6%)
CIE-LABlab(76.58, -24.36, 32.77)
CIE-LCHlch(76.58, 40.84, 126.62°)
OKLaboklab(78.96% -0.0666 0.0811)
OKLCHoklch(78.96% 0.105 129.4)
XYZxyz(40.0015, 50.8396, 27.7801)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C87F #A27FC8
analogous
#C8C77F #A5C87F #81C87F
triadic
#A5C87F #7FA5C8 #C87FA5
tetradic
#A5C87F #7FC8C7 #A27FC8 #C87F81
square
#A5C87F #7FC8C7 #A27FC8 #C87F81
split-complementary
#A5C87F #7F81C8 #C77FC8
monochromatic
#688F3D #87B654 #A5C87F #C3DAAA #E1EDD5

Accessibility & contrast

On white

1.88
#A5C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#A5C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C87F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C87F#FFFFFF#000000##000000
##A5C87F1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF7A
Deuteranopia (green-blind)
#C9BC83
Tritanopia (blue-blind)
#A8C2B6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a5c87f;
/* rgb */ color: rgb(165, 200, 127);
/* oklch */ color: oklch(79.0% 0.105 129.4);
Tailwind
colors: {
  custom: {
    50: '#c0d8a5',
    500: '#a5c87f',
    950: '#000000',
  },
}
SCSS
$custom: #a5c87f;
$custom-light: #c0d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c87f",
  "rgb": {
    "r": 165,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 88.767,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.78956,
    "c": 0.10491,
    "h": 129.4
  },
  "luminance": 0.5084
}

Semantic roles & 50–950 ramp

primary
#A5C87F
secondary
#745596
accent
#33B370
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#12140F
muted
#828380

Preview Lab

Preview with #A5C87F

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

Preview Lab → · Contrast checker → · Palette generator →

#A5C87F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva