#A2C540#A2C540

#A2C540 is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.3% C 0.162 H 123.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#A2C540
RGBrgb(162, 197, 64)
HSLhsl(76, 53%, 51%)
HSVhsv(76, 68%, 77%)
CMYKcmyk(17.8%, 0%, 67.5%, 22.7%)
CIE-LABlab(74.81, -30.38, 60.09)
CIE-LCHlch(74.81, 67.33, 116.82°)
OKLaboklab(77.25% -0.0881 0.1358)
OKLCHoklch(77.25% 0.162 123)
XYZxyz(35.7923, 47.9839, 12.2257)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C540 #6340C5
analogous
#C5A540 #A2C540 #5FC540
triadic
#A2C540 #40A2C5 #C540A2
tetradic
#A2C540 #40C5A5 #6340C5 #C5405F
square
#A2C540 #40C5A5 #6340C5 #C5405F
split-complementary
#A2C540 #405FC5 #A540C5
monochromatic
#576A20 #7D992F #A2C540 #B9D36F #D0E29E

Accessibility & contrast

On white

1.98
#A2C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#A2C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C540
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C540#FFFFFF#000000##000000
##A2C5401.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#AABBAA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #a2c540;
/* rgb */ color: rgb(162, 197, 64);
/* oklch */ color: oklch(77.3% 0.162 123.0);
Tailwind
colors: {
  custom: {
    50: '#c1d67c',
    500: '#a2c540',
    950: '#000000',
  },
}
SCSS
$custom: #a2c540;
$custom-light: #c1d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c540",
  "rgb": {
    "r": 162,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 75.789,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77251,
    "c": 0.16184,
    "h": 123
  },
  "luminance": 0.47984
}

Semantic roles & 50–950 ramp

primary
#A2C540
secondary
#A293CE
accent
#4BDD71
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C540

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

Preview Lab → · Contrast checker → · Palette generator →

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