#A2C04E#A2C04E

#A2C04E is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.2% C 0.145 H 122.3°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#A2C04E
RGBrgb(162, 192, 78)
HSLhsl(76, 48%, 53%)
HSVhsv(76, 59%, 75%)
CMYKcmyk(15.6%, 0%, 59.4%, 24.7%)
CIE-LABlab(73.50, -26.97, 52.84)
CIE-LCHlch(73.50, 59.32, 117.04°)
OKLaboklab(76.23% -0.0773 0.1223)
OKLCHoklch(76.23% 0.145 122.3)
XYZxyz(35.1254, 45.9306, 14.2213)
Luminance0.4593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C04E #6C4EC0
analogous
#C0A54E #A2C04E #69C04E
triadic
#A2C04E #4EA2C0 #C04EA2
tetradic
#A2C04E #4EC0A5 #6C4EC0 #C04E69
square
#A2C04E #4EC0A5 #6C4EC0 #C04E69
split-complementary
#A2C04E #4E69C0 #A54EC0
monochromatic
#5A6D27 #809A37 #A2C04E #BAD07B #D1E0A8

Accessibility & contrast

On white

2.06
#A2C04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#A2C04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C04E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C04E#FFFFFF#000000##000000
##A2C04E1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB541
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#AAB7A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c04e;
/* rgb */ color: rgb(162, 192, 78);
/* oklch */ color: oklch(76.2% 0.145 122.3);
Tailwind
colors: {
  custom: {
    50: '#c0d384',
    500: '#a2c04e',
    950: '#000000',
  },
}
SCSS
$custom: #a2c04e;
$custom-light: #c0d384;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c04e",
  "rgb": {
    "r": 162,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 75.789,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76228,
    "c": 0.14468,
    "h": 122.3
  },
  "luminance": 0.45931
}

Semantic roles & 50–950 ramp

primary
#A2C04E
secondary
#A99CCE
accent
#51D774
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#12140B
muted
#81827C

Preview Lab

Preview with #A2C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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