#A2C838#A2C838

#A2C838 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 77.9% C 0.171 H 123.4°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#A2C838
RGBrgb(162, 200, 56)
HSLhsl(76, 57%, 50%)
HSVhsv(76, 72%, 78%)
CMYKcmyk(19%, 0%, 72%, 21.6%)
CIE-LABlab(75.62, -32.26, 63.87)
CIE-LCHlch(75.62, 71.55, 116.80°)
OKLaboklab(77.89% -0.094 0.1425)
OKLCHoklch(77.89% 0.171 123.4)
XYZxyz(36.2688, 49.2752, 11.3409)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C838 #5E38C8
analogous
#C8A638 #A2C838 #5AC838
triadic
#A2C838 #38A2C8 #C838A2
tetradic
#A2C838 #38C8A6 #5E38C8 #C8385A
square
#A2C838 #38C8A6 #5E38C8 #C8385A
split-complementary
#A2C838 #385AC8 #A638C8
monochromatic
#55691D #7B992A #A2C838 #B8D568 #CFE398

Accessibility & contrast

On white

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

On black

10.86
#A2C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C838
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C838#FFFFFF#000000##000000
##A2C8381.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1D
Deuteranopia (green-blind)
#CFBA45
Tritanopia (blue-blind)
#AABEAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a2c838;
/* rgb */ color: rgb(162, 200, 56);
/* oklch */ color: oklch(77.9% 0.171 123.4);
Tailwind
colors: {
  custom: {
    50: '#c1d878',
    500: '#a2c838',
    950: '#000000',
  },
}
SCSS
$custom: #a2c838;
$custom-light: #c1d878;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c838",
  "rgb": {
    "r": 162,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 75.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77886,
    "c": 0.17068,
    "h": 123.4
  },
  "luminance": 0.49275
}

Semantic roles & 50–950 ramp

primary
#A2C838
secondary
#9F8ECE
accent
#48E070
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C838

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

Preview Lab → · Contrast checker → · Palette generator →

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