#A2CF45#A2CF45

#A2CF45 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.6% C 0.171 H 125.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#A2CF45
RGBrgb(162, 207, 69)
HSLhsl(80, 59%, 54%)
HSVhsv(80, 67%, 81%)
CMYKcmyk(21.7%, 0%, 66.7%, 18.8%)
CIE-LABlab(77.72, -34.69, 61.14)
CIE-LCHlch(77.72, 70.30, 119.57°)
OKLaboklab(79.61% -0.0995 0.1387)
OKLCHoklch(79.61% 0.171 125.7)
XYZxyz(38.2875, 52.7362, 13.7910)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF45 #7245CF
analogous
#CFB745 #A2CF45 #5DCF45
triadic
#A2CF45 #45A2CF #CF45A2
tetradic
#A2CF45 #45CFB7 #7245CF #CF455D
square
#A2CF45 #45CFB7 #7245CF #CF455D
split-complementary
#A2CF45 #455DCF #B745CF
monochromatic
#5D7A20 #81AB2C #A2CF45 #BADC76 #D3E8A6

Accessibility & contrast

On white

1.82
#A2CF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#A2CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CF45
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CF45#FFFFFF#000000##000000
##A2CF451.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC231
Deuteranopia (green-blind)
#D4BF50
Tritanopia (blue-blind)
#A9C5B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a2cf45;
/* rgb */ color: rgb(162, 207, 69);
/* oklch */ color: oklch(79.6% 0.171 125.7);
Tailwind
colors: {
  custom: {
    50: '#c1dd80',
    500: '#a2cf45',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf45;
$custom-light: #c1dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf45",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 79.565,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79609,
    "c": 0.17071,
    "h": 125.7
  },
  "luminance": 0.52737
}

Semantic roles & 50–950 ramp

primary
#A2CF45
secondary
#4F3682
accent
#46E279
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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