#A2C742#A2C742

#A2C742 is a light, vivid yellow-green. Relative luminance 0.489; OKLCH L 77.7% C 0.163 H 123.6°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#A2C742
RGBrgb(162, 199, 66)
HSLhsl(77, 54%, 52%)
HSVhsv(77, 67%, 78%)
CMYKcmyk(18.6%, 0%, 66.8%, 22%)
CIE-LABlab(75.40, -31.19, 59.91)
CIE-LCHlch(75.40, 67.54, 117.50°)
OKLaboklab(77.73% -0.0901 0.1357)
OKLCHoklch(77.73% 0.163 123.6)
XYZxyz(36.3074, 48.9213, 12.6832)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C742 #6742C7
analogous
#C7AA42 #A2C742 #5FC742
triadic
#A2C742 #42A2C7 #C742A2
tetradic
#A2C742 #42C7AA #6742C7 #C7425F
square
#A2C742 #42C7AA #6742C7 #C7425F
split-complementary
#A2C742 #425FC7 #AA42C7
monochromatic
#586E21 #7E9D2F #A2C742 #B9D571 #D0E3A0

Accessibility & contrast

On white

1.95
#A2C742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#A2C742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C742
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C742#FFFFFF#000000##000000
##A2C7421.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#AABDAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a2c742;
/* rgb */ color: rgb(162, 199, 66);
/* oklch */ color: oklch(77.7% 0.163 123.6);
Tailwind
colors: {
  custom: {
    50: '#c1d87d',
    500: '#a2c742',
    950: '#000000',
  },
}
SCSS
$custom: #a2c742;
$custom-light: #c1d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c742",
  "rgb": {
    "r": 162,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 76.692,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7773,
    "c": 0.1629,
    "h": 123.6
  },
  "luminance": 0.48922
}

Semantic roles & 50–950 ramp

primary
#A2C742
secondary
#A595D0
accent
#4ADE73
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C742

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

Preview Lab → · Contrast checker → · Palette generator →

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