#A0CC42#A0CC42

#A0CC42 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.8% C 0.170 H 125.4°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#A0CC42
RGBrgb(160, 204, 66)
HSLhsl(79, 58%, 53%)
HSVhsv(79, 68%, 80%)
CMYKcmyk(21.6%, 0%, 67.6%, 20%)
CIE-LABlab(76.71, -34.29, 61.23)
CIE-LCHlch(76.71, 70.18, 119.25°)
OKLaboklab(78.75% -0.0986 0.1385)
OKLCHoklch(78.75% 0.17 125.4)
XYZxyz(37.0736, 51.0522, 13.0541)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0CC42 #6E42CC
analogous
#CCB342 #A0CC42 #5BCC42
triadic
#A0CC42 #42A0CC #CC42A0
tetradic
#A0CC42 #42CCB3 #6E42CC #CC425B
square
#A0CC42 #42CCB3 #6E42CC #CC425B
split-complementary
#A0CC42 #425BCC #B342CC
monochromatic
#59741F #7EA42C #A0CC42 #B8D972 #D0E6A2

Accessibility & contrast

On white

1.87
#A0CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#A0CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0CC42
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0CC42#FFFFFF#000000##000000
##A0CC421.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#A7C2B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a0cc42;
/* rgb */ color: rgb(160, 204, 66);
/* oklch */ color: oklch(78.8% 0.170 125.4);
Tailwind
colors: {
  custom: {
    50: '#bfdb7e',
    500: '#a0cc42',
    950: '#000000',
  },
}
SCSS
$custom: #a0cc42;
$custom-light: #bfdb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a0cc42",
  "rgb": {
    "r": 160,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 79.13,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78754,
    "c": 0.16998,
    "h": 125.4
  },
  "luminance": 0.51053
}

Semantic roles & 50–950 ramp

primary
#A0CC42
secondary
#4C357D
accent
#47E178
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A0CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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