#A2C045#A2C045

#A2C045 is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.1% C 0.152 H 121.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#A2C045
RGBrgb(162, 192, 69)
HSLhsl(75, 49%, 51%)
HSVhsv(75, 64%, 75%)
CMYKcmyk(15.6%, 0%, 64.1%, 24.7%)
CIE-LABlab(73.42, -27.66, 56.62)
CIE-LCHlch(73.42, 63.01, 116.04°)
OKLaboklab(76.14% -0.0801 0.1292)
OKLCHoklch(76.14% 0.152 121.8)
XYZxyz(34.8245, 45.8103, 12.6367)
Luminance0.4581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C045 #6345C0
analogous
#C0A045 #A2C045 #64C045
triadic
#A2C045 #45A2C0 #C045A2
tetradic
#A2C045 #45C0A0 #6345C0 #C04564
square
#A2C045 #45C0A0 #6345C0 #C04564
split-complementary
#A2C045 #4564C0 #A045C0
monochromatic
#576823 #7D9533 #A2C045 #B9CF73 #D0DFA0

Accessibility & contrast

On white

2.07
#A2C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#A2C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C045
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C045#FFFFFF#000000##000000
##A2C0451.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB535
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#AAB7A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a2c045;
/* rgb */ color: rgb(162, 192, 69);
/* oklch */ color: oklch(76.1% 0.152 121.8);
Tailwind
colors: {
  custom: {
    50: '#c0d37e',
    500: '#a2c045',
    950: '#000000',
  },
}
SCSS
$custom: #a2c045;
$custom-light: #c0d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c045",
  "rgb": {
    "r": 162,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 74.634,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7614,
    "c": 0.15198,
    "h": 121.8
  },
  "luminance": 0.4581
}

Semantic roles & 50–950 ramp

primary
#A2C045
secondary
#A295CC
accent
#4FD971
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13140A
muted
#82827C

Preview Lab

Preview with #A2C045

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

Preview Lab → · Contrast checker → · Palette generator →

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