#A2C242#A2C242

#A2C242 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.6% C 0.157 H 122.2°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#A2C242
RGBrgb(162, 194, 66)
HSLhsl(75, 51%, 51%)
HSVhsv(75, 66%, 76%)
CMYKcmyk(16.5%, 0%, 66%, 23.9%)
CIE-LABlab(73.97, -28.82, 58.42)
CIE-LCHlch(73.97, 65.15, 116.26°)
OKLaboklab(76.57% -0.0836 0.1326)
OKLCHoklch(76.57% 0.157 122.2)
XYZxyz(35.1759, 46.6582, 12.3060)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C242 #6242C2
analogous
#C2A242 #A2C242 #62C242
triadic
#A2C242 #42A2C2 #C242A2
tetradic
#A2C242 #42C2A2 #6242C2 #C24262
square
#A2C242 #42C2A2 #6242C2 #C24262
split-complementary
#A2C242 #4262C2 #A242C2
monochromatic
#566822 #7D9631 #A2C242 #B9D170 #D0E09F

Accessibility & contrast

On white

2.03
#A2C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#A2C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C242
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C242#FFFFFF#000000##000000
##A2C2421.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB730
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#AAB8A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a2c242;
/* rgb */ color: rgb(162, 194, 66);
/* oklch */ color: oklch(76.6% 0.157 122.2);
Tailwind
colors: {
  custom: {
    50: '#c1d47d',
    500: '#a2c242',
    950: '#000000',
  },
}
SCSS
$custom: #a2c242;
$custom-light: #c1d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c242",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 75,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76574,
    "c": 0.15671,
    "h": 122.2
  },
  "luminance": 0.46658
}

Semantic roles & 50–950 ramp

primary
#A2C242
secondary
#A294CC
accent
#4DDB71
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C242

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

Preview Lab → · Contrast checker → · Palette generator →

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