#A2C538#A2C538

#A2C538 is a light, vivid yellow-green. Relative luminance 0.479; OKLCH L 77.2% C 0.167 H 122.6°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#A2C538
RGBrgb(162, 197, 56)
HSLhsl(75, 56%, 50%)
HSVhsv(75, 72%, 77%)
CMYKcmyk(17.8%, 0%, 71.6%, 22.7%)
CIE-LABlab(74.76, -30.86, 63.02)
CIE-LCHlch(74.76, 70.17, 116.09°)
OKLaboklab(77.19% -0.0901 0.1407)
OKLCHoklch(77.19% 0.167 122.6)
XYZxyz(35.5808, 47.8993, 11.1116)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C538 #5B38C5
analogous
#C5A238 #A2C538 #5BC538
triadic
#A2C538 #38A2C5 #C538A2
tetradic
#A2C538 #38C5A2 #5B38C5 #C5385B
square
#A2C538 #38C5A2 #5B38C5 #C5385B
split-complementary
#A2C538 #385BC5 #A238C5
monochromatic
#54661D #7B952A #A2C538 #B9D467 #CFE196

Accessibility & contrast

On white

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

On black

10.58
#A2C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C538
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C538#FFFFFF#000000##000000
##A2C5381.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2c538;
/* rgb */ color: rgb(162, 197, 56);
/* oklch */ color: oklch(77.2% 0.167 122.6);
Tailwind
colors: {
  custom: {
    50: '#c1d678',
    500: '#a2c538',
    950: '#000000',
  },
}
SCSS
$custom: #a2c538;
$custom-light: #c1d678;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c538",
  "rgb": {
    "r": 162,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 74.894,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7719,
    "c": 0.16709,
    "h": 122.6
  },
  "luminance": 0.47899
}

Semantic roles & 50–950 ramp

primary
#A2C538
secondary
#9C8CCD
accent
#49DF6E
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C538

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

Preview Lab → · Contrast checker → · Palette generator →

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