#A2CF51#A2CF51

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

Color values

HEX#A2CF51
RGBrgb(162, 207, 81)
HSLhsl(81, 57%, 56%)
HSVhsv(81, 61%, 81%)
CMYKcmyk(21.7%, 0%, 60.9%, 18.8%)
CIE-LABlab(77.82, -33.80, 56.31)
CIE-LCHlch(77.82, 65.67, 120.97°)
OKLaboklab(79.72% -0.096 0.13)
OKLCHoklch(79.72% 0.162 126.4)
XYZxyz(38.6984, 52.9006, 15.9550)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF51 #7E51CF
analogous
#CFBD51 #A2CF51 #63CF51
triadic
#A2CF51 #51A2CF #CF51A2
tetradic
#A2CF51 #51CFBD #7E51CF #CF5163
square
#A2CF51 #51CFBD #7E51CF #CF5163
split-complementary
#A2CF51 #5163CF #BD51CF
monochromatic
#608224 #84B231 #A2CF51 #BCDC81 #D5E9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2CF51#FFFFFF#000000##000000
##A2CF511.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)
#D9C242
Deuteranopia (green-blind)
#D3C05A
Tritanopia (blue-blind)
#A8C6B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a2cf51;
/* rgb */ color: rgb(162, 207, 81);
/* oklch */ color: oklch(79.7% 0.162 126.4);
Tailwind
colors: {
  custom: {
    50: '#c0dd87',
    500: '#a2cf51',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf51;
$custom-light: #c0dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf51",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 81.429,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79719,
    "c": 0.16162,
    "h": 126.4
  },
  "luminance": 0.52901
}

Semantic roles & 50–950 ramp

primary
#A2CF51
secondary
#573B89
accent
#48E07E
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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