#A2CF52#A2CF52

#A2CF52 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.7% C 0.161 H 126.5°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#A2CF52
RGBrgb(162, 207, 82)
HSLhsl(82, 57%, 57%)
HSVhsv(82, 60%, 81%)
CMYKcmyk(21.7%, 0%, 60.4%, 18.8%)
CIE-LABlab(77.83, -33.71, 55.89)
CIE-LCHlch(77.83, 65.27, 121.10°)
OKLaboklab(79.73% -0.0957 0.1293)
OKLCHoklch(79.73% 0.161 126.5)
XYZxyz(38.7361, 52.9157, 16.1540)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF52 #7F52CF
analogous
#CFBE52 #A2CF52 #64CF52
triadic
#A2CF52 #52A2CF #CF52A2
tetradic
#A2CF52 #52CFBE #7F52CF #CF5264
square
#A2CF52 #52CFBE #7F52CF #CF5264
split-complementary
#A2CF52 #5264CF #BE52CF
monochromatic
#608224 #84B231 #A2CF52 #BCDC82 #D6EAB2

Accessibility & contrast

On white

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

On black

11.58
#A2CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CF52
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CF52#FFFFFF#000000##000000
##A2CF521.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D3C05B
Tritanopia (blue-blind)
#A8C6B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a2cf52;
/* rgb */ color: rgb(162, 207, 82);
/* oklch */ color: oklch(79.7% 0.161 126.5);
Tailwind
colors: {
  custom: {
    50: '#c0de87',
    500: '#a2cf52',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf52;
$custom-light: #c0de87;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf52",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 81.6,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79729,
    "c": 0.16082,
    "h": 126.5
  },
  "luminance": 0.52916
}

Semantic roles & 50–950 ramp

primary
#A2CF52
secondary
#583C8A
accent
#48E07F
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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