#A2CF5B#A2CF5B

#A2CF5B is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.8% C 0.153 H 127.3°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#A2CF5B
RGBrgb(162, 207, 91)
HSLhsl(83, 55%, 58%)
HSVhsv(83, 56%, 81%)
CMYKcmyk(21.7%, 0%, 56%, 18.8%)
CIE-LABlab(77.91, -32.92, 51.99)
CIE-LCHlch(77.91, 61.54, 122.34°)
OKLaboklab(79.83% -0.0927 0.1219)
OKLCHoklch(79.83% 0.153 127.3)
XYZxyz(39.1013, 53.0618, 18.0774)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF5B #885BCF
analogous
#CFC25B #A2CF5B #68CF5B
triadic
#A2CF5B #5BA2CF #CF5BA2
tetradic
#A2CF5B #5BCFC2 #885BCF #CF5B68
square
#A2CF5B #5BCFC2 #885BCF #CF5B68
split-complementary
#A2CF5B #5B68CF #C25BCF
monochromatic
#638828 #85B736 #A2CF5B #BDDD8A #D8EBBA

Accessibility & contrast

On white

1.81
#A2CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#A2CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CF5B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CF5B#FFFFFF#000000##000000
##A2CF5B1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24F
Deuteranopia (green-blind)
#D2C063
Tritanopia (blue-blind)
#A7C6B5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a2cf5b;
/* rgb */ color: rgb(162, 207, 91);
/* oklch */ color: oklch(79.8% 0.153 127.3);
Tailwind
colors: {
  custom: {
    50: '#c0de8d',
    500: '#a2cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf5b;
$custom-light: #c0de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf5b",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 83.276,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79827,
    "c": 0.15312,
    "h": 127.3
  },
  "luminance": 0.53062
}

Semantic roles & 50–950 ramp

primary
#A2CF5B
secondary
#5E408F
accent
#4ADE83
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150C
muted
#82847F

Preview Lab

Preview with #A2CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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