#A2CF4F#A2CF4F

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

Color values

HEX#A2CF4F
RGBrgb(162, 207, 79)
HSLhsl(81, 57%, 56%)
HSVhsv(81, 62%, 81%)
CMYKcmyk(21.7%, 0%, 61.8%, 18.8%)
CIE-LABlab(77.80, -33.96, 57.15)
CIE-LCHlch(77.80, 66.47, 120.72°)
OKLaboklab(79.7% -0.0966 0.1316)
OKLCHoklch(79.7% 0.163 126.3)
XYZxyz(38.6245, 52.8710, 15.5658)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF4F #7C4FCF
analogous
#CFBC4F #A2CF4F #62CF4F
triadic
#A2CF4F #4FA2CF #CF4FA2
tetradic
#A2CF4F #4FCFBC #7C4FCF #CF4F62
square
#A2CF4F #4FCFBC #7C4FCF #CF4F62
split-complementary
#A2CF4F #4F62CF #BC4FCF
monochromatic
#608123 #83B130 #A2CF4F #BBDC7F #D5E9AF

Accessibility & contrast

On white

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

On black

11.57
#A2CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CF4F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CF4F#FFFFFF#000000##000000
##A2CF4F1.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2cf4f;
/* rgb */ color: rgb(162, 207, 79);
/* oklch */ color: oklch(79.7% 0.163 126.3);
Tailwind
colors: {
  custom: {
    50: '#c0dd86',
    500: '#a2cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf4f;
$custom-light: #c0dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf4f",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 81.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.797,
    "c": 0.16323,
    "h": 126.3
  },
  "luminance": 0.52872
}

Semantic roles & 50–950 ramp

primary
#A2CF4F
secondary
#563A88
accent
#47E07D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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