#A2C028#A2C028

#A2C028 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.9% C 0.170 H 120.8°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#A2C028
RGBrgb(162, 192, 40)
HSLhsl(72, 66%, 45%)
HSVhsv(72, 79%, 75%)
CMYKcmyk(15.6%, 0%, 79.2%, 24.7%)
CIE-LABlab(73.24, -29.26, 66.75)
CIE-LCHlch(73.24, 72.88, 113.67°)
OKLaboklab(75.94% -0.087 0.146)
OKLCHoklch(75.94% 0.17 120.8)
XYZxyz(34.1336, 45.5339, 8.9978)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C028 #4628C0
analogous
#C09228 #A2C028 #56C028
triadic
#A2C028 #28A2C0 #C028A2
tetradic
#A2C028 #28C092 #4628C0 #C02856
square
#A2C028 #28C092 #4628C0 #C02856
split-complementary
#A2C028 #2856C0 #9228C0
monochromatic
#4D5B13 #778D1D #A2C028 #BEDA4C #D0E47E

Accessibility & contrast

On white

2.08
#A2C028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#A2C028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C028
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C028#FFFFFF#000000##000000
##A2C0281.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#ABB6A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a2c028;
/* rgb */ color: rgb(162, 192, 40);
/* oklch */ color: oklch(75.9% 0.170 120.8);
Tailwind
colors: {
  custom: {
    50: '#c1d370',
    500: '#a2c028',
    950: '#000000',
  },
}
SCSS
$custom: #a2c028;
$custom-light: #c1d370;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c028",
  "rgb": {
    "r": 162,
    "g": 192,
    "b": 40
  },
  "hsl": {
    "h": 71.842,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75937,
    "c": 0.16991,
    "h": 120.8
  },
  "luminance": 0.45534
}

Semantic roles & 50–950 ramp

primary
#A2C028
secondary
#8877CD
accent
#3FE861
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A2C028

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

Preview Lab → · Contrast checker → · Palette generator →

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