#A2C837#A2C837

#A2C837 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.85:1 contrast (WCAG AA passes).

Color values

HEX#A2C837
RGBrgb(162, 200, 55)
HSLhsl(76, 57%, 50%)
HSVhsv(76, 73%, 78%)
CMYKcmyk(19%, 0%, 72.5%, 21.6%)
CIE-LABlab(75.62, -32.32, 64.21)
CIE-LCHlch(75.62, 71.89, 116.72°)
OKLaboklab(77.88% -0.0942 0.1431)
OKLCHoklch(77.88% 0.171 123.4)
XYZxyz(36.2446, 49.2655, 11.2134)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C837 #5D37C8
analogous
#C8A537 #A2C837 #5AC837
triadic
#A2C837 #37A2C8 #C837A2
tetradic
#A2C837 #37C8A5 #5D37C8 #C8375A
square
#A2C837 #37C8A5 #5D37C8 #C8375A
split-complementary
#A2C837 #375AC8 #A537C8
monochromatic
#54681D #7B982A #A2C837 #B8D567 #CFE297

Accessibility & contrast

On white

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

On black

10.85
#A2C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C837
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C837#FFFFFF#000000##000000
##A2C8371.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2c837;
/* rgb */ color: rgb(162, 200, 55);
/* oklch */ color: oklch(77.9% 0.171 123.4);
Tailwind
colors: {
  custom: {
    50: '#c1d878',
    500: '#a2c837',
    950: '#000000',
  },
}
SCSS
$custom: #a2c837;
$custom-light: #c1d878;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c837",
  "rgb": {
    "r": 162,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 75.724,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.77879,
    "c": 0.17128,
    "h": 123.4
  },
  "luminance": 0.49266
}

Semantic roles & 50–950 ramp

primary
#A2C837
secondary
#9E8DCE
accent
#48E070
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C837

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

Preview Lab → · Contrast checker → · Palette generator →

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