#A2CC34#A2CC34

#A2CC34 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.8% C 0.178 H 124.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#A2CC34
RGBrgb(162, 204, 52)
HSLhsl(77, 60%, 50%)
HSVhsv(77, 75%, 80%)
CMYKcmyk(20.6%, 0%, 74.5%, 20%)
CIE-LABlab(76.75, -34.32, 66.32)
CIE-LCHlch(76.75, 74.67, 117.36°)
OKLaboklab(78.79% -0.0999 0.147)
OKLCHoklch(78.79% 0.178 124.2)
XYZxyz(37.1134, 51.1147, 11.1590)
Luminance0.5111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CC34 #5E34CC
analogous
#CCAA34 #A2CC34 #56CC34
triadic
#A2CC34 #34A2CC #CC34A2
tetradic
#A2CC34 #34CCAA #5E34CC #CC3456
square
#A2CC34 #34CCAA #5E34CC #CC3456
split-complementary
#A2CC34 #3456CC #AA34CC
monochromatic
#556B1B #7B9C27 #A2CC34 #B8D865 #CFE596

Accessibility & contrast

On white

1.87
#A2CC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#A2CC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CC34
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CC34#FFFFFF#000000##000000
##A2CC341.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF11
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#AAC2AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a2cc34;
/* rgb */ color: rgb(162, 204, 52);
/* oklch */ color: oklch(78.8% 0.178 124.2);
Tailwind
colors: {
  custom: {
    50: '#c1db77',
    500: '#a2cc34',
    950: '#000000',
  },
}
SCSS
$custom: #a2cc34;
$custom-light: #c1db77;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cc34",
  "rgb": {
    "r": 162,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 76.579,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78789,
    "c": 0.17775,
    "h": 124.2
  },
  "luminance": 0.51115
}

Semantic roles & 50–950 ramp

primary
#A2CC34
secondary
#433074
accent
#45E371
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#131509
muted
#82847D

Preview Lab

Preview with #A2CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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