#A2C781#A2C781

#A2C781 is a light, moderate yellow-green. Relative luminance 0.501; OKLCH L 78.6% C 0.103 H 131.1°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#A2C781
RGBrgb(162, 199, 129)
HSLhsl(92, 38%, 64%)
HSVhsv(92, 35%, 78%)
CMYKcmyk(18.6%, 0%, 35.2%, 22%)
CIE-LABlab(76.14, -24.70, 31.12)
CIE-LCHlch(76.14, 39.73, 128.44°)
OKLaboklab(78.56% -0.0674 0.0773)
OKLCHoklch(78.56% 0.103 131.1)
XYZxyz(39.2855, 50.1126, 28.3676)
Luminance0.5011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C781 #A681C7
analogous
#C5C781 #A2C781 #81C783
triadic
#A2C781 #81A2C7 #C781A2
tetradic
#A2C781 #81C5C7 #A681C7 #C78381
square
#A2C781 #81C5C7 #A681C7 #C78381
split-complementary
#A2C781 #8381C7 #C781C5
monochromatic
#658E3F #83B457 #A2C781 #C1DAAB #E1EDD6

Accessibility & contrast

On white

1.91
#A2C781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#A2C781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C781
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C781#FFFFFF#000000##000000
##A2C7811.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE7C
Deuteranopia (green-blind)
#C7BB85
Tritanopia (blue-blind)
#A4C1B5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a2c781;
/* rgb */ color: rgb(162, 199, 129);
/* oklch */ color: oklch(78.6% 0.103 131.1);
Tailwind
colors: {
  custom: {
    50: '#bed8a6',
    500: '#a2c781',
    950: '#000000',
  },
}
SCSS
$custom: #a2c781;
$custom-light: #bed8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c781",
  "rgb": {
    "r": 162,
    "g": 199,
    "b": 129
  },
  "hsl": {
    "h": 91.714,
    "s": 38.462,
    "l": 64.314
  },
  "oklch": {
    "l": 0.78561,
    "c": 0.10254,
    "h": 131.1
  },
  "luminance": 0.50113
}

Semantic roles & 50–950 ramp

primary
#A2C781
secondary
#785696
accent
#34B176
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#12140F
muted
#828380

Preview Lab

Preview with #A2C781

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

Preview Lab → · Contrast checker → · Palette generator →

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