#A2CF87#A2CF87

#A2CF87 is a light, moderate yellow-green. Relative luminance 0.541; OKLCH L 80.5% C 0.108 H 134.3°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#A2CF87
RGBrgb(162, 207, 135)
HSLhsl(98, 43%, 67%)
HSVhsv(98, 35%, 81%)
CMYKcmyk(21.7%, 0%, 34.8%, 18.8%)
CIE-LABlab(78.49, -27.72, 31.12)
CIE-LCHlch(78.49, 41.68, 131.69°)
OKLaboklab(80.49% -0.0756 0.0775)
OKLCHoklch(80.49% 0.108 134.3)
XYZxyz(41.5853, 54.0553, 31.1597)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF87 #B487CF
analogous
#C6CF87 #A2CF87 #87CF90
triadic
#A2CF87 #87A2CF #CF87A2
tetradic
#A2CF87 #87C6CF #B487CF #CF9087
square
#A2CF87 #87C6CF #B487CF #CF9087
split-complementary
#A2CF87 #9087CF #CF87C6
monochromatic
#629D3F #80BE5B #A2CF87 #C4E0B3 #E6F2DE

Accessibility & contrast

On white

1.78
#A2CF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#A2CF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CF87
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CF87#FFFFFF#000000##000000
##A2CF871.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C582
Deuteranopia (green-blind)
#CEC18B
Tritanopia (blue-blind)
#A2CABD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2cf87;
/* rgb */ color: rgb(162, 207, 135);
/* oklch */ color: oklch(80.5% 0.108 134.3);
Tailwind
colors: {
  custom: {
    50: '#bedeaa',
    500: '#a2cf87',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf87;
$custom-light: #bedeaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf87",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 135
  },
  "hsl": {
    "h": 97.5,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.80486,
    "c": 0.10825,
    "h": 134.3
  },
  "luminance": 0.54056
}

Semantic roles & 50–950 ramp

primary
#A2CF87
secondary
#8658A3
accent
#30B684
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#121510
muted
#828481

Preview Lab

Preview with #A2CF87

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

Preview Lab → · Contrast checker → · Palette generator →

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