#A2C842#A2C842

#A2C842 is a light, vivid yellow-green. Relative luminance 0.494; OKLCH L 78.0% C 0.164 H 123.9°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#A2C842
RGBrgb(162, 200, 66)
HSLhsl(77, 55%, 52%)
HSVhsv(77, 67%, 78%)
CMYKcmyk(19%, 0%, 67%, 21.6%)
CIE-LABlab(75.69, -31.65, 60.21)
CIE-LCHlch(75.69, 68.03, 117.73°)
OKLaboklab(77.96% -0.0914 0.1363)
OKLCHoklch(77.96% 0.164 123.9)
XYZxyz(36.5383, 49.3830, 12.7601)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C842 #6842C8
analogous
#C8AB42 #A2C842 #5FC842
triadic
#A2C842 #42A2C8 #C842A2
tetradic
#A2C842 #42C8AB #6842C8 #C8425F
square
#A2C842 #42C8AB #6842C8 #C8425F
split-complementary
#A2C842 #425FC8 #AB42C8
monochromatic
#596F20 #7F9F2E #A2C842 #B9D671 #D1E4A1

Accessibility & contrast

On white

1.93
#A2C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#A2C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C842
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C842#FFFFFF#000000##000000
##A2C8421.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#AABEAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a2c842;
/* rgb */ color: rgb(162, 200, 66);
/* oklch */ color: oklch(78.0% 0.164 123.9);
Tailwind
colors: {
  custom: {
    50: '#c1d87d',
    500: '#a2c842',
    950: '#000000',
  },
}
SCSS
$custom: #a2c842;
$custom-light: #c1d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c842",
  "rgb": {
    "r": 162,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 77.015,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77961,
    "c": 0.16413,
    "h": 123.9
  },
  "luminance": 0.49383
}

Semantic roles & 50–950 ramp

primary
#A2C842
secondary
#A696D0
accent
#4ADE74
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C842

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

Preview Lab → · Contrast checker → · Palette generator →

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