#A2C240#A2C240

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

Color values

HEX#A2C240
RGBrgb(162, 194, 64)
HSLhsl(75, 52%, 51%)
HSVhsv(75, 67%, 76%)
CMYKcmyk(16.5%, 0%, 67%, 23.9%)
CIE-LABlab(73.96, -28.96, 59.20)
CIE-LCHlch(73.96, 65.91, 116.06°)
OKLaboklab(76.56% -0.0841 0.1339)
OKLCHoklch(76.56% 0.158 122.1)
XYZxyz(35.1179, 46.6350, 12.0009)
Luminance0.4663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C240 #6040C2
analogous
#C2A140 #A2C240 #61C240
triadic
#A2C240 #40A2C2 #C240A2
tetradic
#A2C240 #40C2A1 #6040C2 #C24061
square
#A2C240 #40C2A1 #6040C2 #C24061
split-complementary
#A2C240 #4061C2 #A140C2
monochromatic
#566721 #7C9530 #A2C240 #B9D16E #CFE09D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C240#FFFFFF#000000##000000
##A2C2401.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)
#CDB62D
Deuteranopia (green-blind)
#C9B64A
Tritanopia (blue-blind)
#AAB8A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a2c240;
/* rgb */ color: rgb(162, 194, 64);
/* oklch */ color: oklch(76.6% 0.158 122.1);
Tailwind
colors: {
  custom: {
    50: '#c1d47c',
    500: '#a2c240',
    950: '#000000',
  },
}
SCSS
$custom: #a2c240;
$custom-light: #c1d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c240",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 74.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76557,
    "c": 0.15815,
    "h": 122.1
  },
  "luminance": 0.46635
}

Semantic roles & 50–950 ramp

primary
#A2C240
secondary
#A092CC
accent
#4DDB70
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C240

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

Preview Lab → · Contrast checker → · Palette generator →

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