#A2C157#A2C157

#A2C157 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.6% C 0.138 H 123.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#A2C157
RGBrgb(162, 193, 87)
HSLhsl(78, 46%, 55%)
HSVhsv(78, 55%, 76%)
CMYKcmyk(16.1%, 0%, 54.9%, 24.3%)
CIE-LABlab(73.87, -26.67, 49.17)
CIE-LCHlch(73.87, 55.94, 118.47°)
OKLaboklab(76.56% -0.0756 0.1154)
OKLCHoklch(76.56% 0.138 123.2)
XYZxyz(35.6907, 46.5093, 16.1119)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C157 #7657C1
analogous
#C1AB57 #A2C157 #6DC157
triadic
#A2C157 #57A2C1 #C157A2
tetradic
#A2C157 #57C1AB #7657C1 #C1576D
square
#A2C157 #57C1AB #7657C1 #C1576D
split-complementary
#A2C157 #576DC1 #AB57C1
monochromatic
#5E732A #82A03B #A2C157 #BBD184 #D3E2B0

Accessibility & contrast

On white

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

On black

10.30
#A2C157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C157
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C157#FFFFFF#000000##000000
##A2C1571.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64C
Deuteranopia (green-blind)
#C7B55E
Tritanopia (blue-blind)
#A9B8AA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a2c157;
/* rgb */ color: rgb(162, 193, 87);
/* oklch */ color: oklch(76.6% 0.138 123.2);
Tailwind
colors: {
  custom: {
    50: '#c0d38a',
    500: '#a2c157',
    950: '#000000',
  },
}
SCSS
$custom: #a2c157;
$custom-light: #c0d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c157",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 77.547,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76558,
    "c": 0.13797,
    "h": 123.2
  },
  "luminance": 0.46509
}

Semantic roles & 50–950 ramp

primary
#A2C157
secondary
#B1A4D0
accent
#52D679
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#12140C
muted
#81827D

Preview Lab

Preview with #A2C157

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

Preview Lab → · Contrast checker → · Palette generator →

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