#A2C042#A2C042

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

Color values

HEX#A2C042
RGBrgb(162, 192, 66)
HSLhsl(74, 50%, 51%)
HSVhsv(74, 66%, 75%)
CMYKcmyk(15.6%, 0%, 65.6%, 24.7%)
CIE-LABlab(73.40, -27.87, 57.83)
CIE-LCHlch(73.40, 64.19, 115.73°)
OKLaboklab(76.11% -0.0809 0.1313)
OKLCHoklch(76.11% 0.154 121.7)
XYZxyz(34.7337, 45.7740, 12.1586)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C042 #6042C0
analogous
#C09F42 #A2C042 #63C042
triadic
#A2C042 #42A2C0 #C042A2
tetradic
#A2C042 #42C09F #6042C0 #C04263
square
#A2C042 #42C09F #6042C0 #C04263
split-complementary
#A2C042 #4263C0 #9F42C0
monochromatic
#566622 #7C9431 #A2C042 #B9CF70 #CFDF9E

Accessibility & contrast

On white

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

On black

10.15
#A2C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C042
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C042#FFFFFF#000000##000000
##A2C0421.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#AAB6A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a2c042;
/* rgb */ color: rgb(162, 192, 66);
/* oklch */ color: oklch(76.1% 0.154 121.7);
Tailwind
colors: {
  custom: {
    50: '#c0d37d',
    500: '#a2c042',
    950: '#000000',
  },
}
SCSS
$custom: #a2c042;
$custom-light: #c0d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c042",
  "rgb": {
    "r": 162,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 74.286,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76113,
    "c": 0.15424,
    "h": 121.7
  },
  "luminance": 0.45774
}

Semantic roles & 50–950 ramp

primary
#A2C042
secondary
#A093CB
accent
#4EDA6F
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A2C042

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

Preview Lab → · Contrast checker → · Palette generator →

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