#A2CF34#A2CF34

#A2CF34 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.5% C 0.181 H 124.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#A2CF34
RGBrgb(162, 207, 52)
HSLhsl(77, 62%, 51%)
HSVhsv(77, 75%, 81%)
CMYKcmyk(21.7%, 0%, 74.9%, 18.8%)
CIE-LABlab(77.61, -35.69, 67.14)
CIE-LCHlch(77.61, 76.04, 118.00°)
OKLaboklab(79.49% -0.1037 0.1487)
OKLCHoklch(79.49% 0.181 124.9)
XYZxyz(37.8333, 52.5545, 11.3990)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF34 #6134CF
analogous
#CFAE34 #A2CF34 #54CF34
triadic
#A2CF34 #34A2CF #CF34A2
tetradic
#A2CF34 #34CFAE #6134CF #CF3454
square
#A2CF34 #34CFAE #6134CF #CF3454
split-complementary
#A2CF34 #3454CF #AE34CF
monochromatic
#566E1A #7DA026 #A2CF34 #B9DB65 #CFE697

Accessibility & contrast

On white

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

On black

11.51
#A2CF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CF34
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CF34#FFFFFF#000000##000000
##A2CF341.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC10F
Deuteranopia (green-blind)
#D5BF43
Tritanopia (blue-blind)
#AAC5B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a2cf34;
/* rgb */ color: rgb(162, 207, 52);
/* oklch */ color: oklch(79.5% 0.181 124.9);
Tailwind
colors: {
  custom: {
    50: '#c2dd77',
    500: '#a2cf34',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf34;
$custom-light: #c2dd77;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf34",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 52
  },
  "hsl": {
    "h": 77.419,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79488,
    "c": 0.1813,
    "h": 124.9
  },
  "luminance": 0.52555
}

Semantic roles & 50–950 ramp

primary
#A2CF34
secondary
#442F78
accent
#43E572
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #A2CF34

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

Preview Lab → · Contrast checker → · Palette generator →

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