#A2C151#A2C151

#A2C151 is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.5% C 0.143 H 122.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#A2C151
RGBrgb(162, 193, 81)
HSLhsl(77, 47%, 54%)
HSVhsv(77, 58%, 76%)
CMYKcmyk(16.1%, 0%, 58%, 24.3%)
CIE-LABlab(73.81, -27.20, 51.85)
CIE-LCHlch(73.81, 58.55, 117.68°)
OKLaboklab(76.49% -0.0777 0.1205)
OKLCHoklch(76.49% 0.143 122.8)
XYZxyz(35.4557, 46.4153, 14.8741)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C151 #7051C1
analogous
#C1A851 #A2C151 #6AC151
triadic
#A2C151 #51A2C1 #C151A2
tetradic
#A2C151 #51C1A8 #7051C1 #C1516A
square
#A2C151 #51C1A8 #7051C1 #C1516A
split-complementary
#A2C151 #516AC1 #A851C1
monochromatic
#5C7028 #819D38 #A2C151 #BAD17E #D2E1AB

Accessibility & contrast

On white

2.04
#A2C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#A2C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C151
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C151#FFFFFF#000000##000000
##A2C1511.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB645
Deuteranopia (green-blind)
#C7B558
Tritanopia (blue-blind)
#A9B8A9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c151;
/* rgb */ color: rgb(162, 193, 81);
/* oklch */ color: oklch(76.5% 0.143 122.8);
Tailwind
colors: {
  custom: {
    50: '#c0d386',
    500: '#a2c151',
    950: '#000000',
  },
}
SCSS
$custom: #a2c151;
$custom-light: #c0d386;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c151",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 76.607,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7649,
    "c": 0.14338,
    "h": 122.8
  },
  "luminance": 0.46415
}

Semantic roles & 50–950 ramp

primary
#A2C151
secondary
#AC9FCF
accent
#51D776
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#12140B
muted
#81827C

Preview Lab

Preview with #A2C151

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

Preview Lab → · Contrast checker → · Palette generator →

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