#A0CC40#A0CC40

#A0CC40 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.7% C 0.171 H 125.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#A0CC40
RGBrgb(160, 204, 64)
HSLhsl(79, 58%, 53%)
HSVhsv(79, 69%, 80%)
CMYKcmyk(21.6%, 0%, 68.6%, 20%)
CIE-LABlab(76.70, -34.42, 61.98)
CIE-LCHlch(76.70, 70.89, 119.05°)
OKLaboklab(78.74% -0.0991 0.1398)
OKLCHoklch(78.74% 0.171 125.3)
XYZxyz(37.0157, 51.0290, 12.7489)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0CC40 #6C40CC
analogous
#CCB240 #A0CC40 #5ACC40
triadic
#A0CC40 #40A0CC #CC40A0
tetradic
#A0CC40 #40CCB2 #6C40CC #CC405A
square
#A0CC40 #40CCB2 #6C40CC #CC405A
split-complementary
#A0CC40 #405ACC #B240CC
monochromatic
#58731F #7EA32C #A0CC40 #B8D970 #D0E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0CC40#FFFFFF#000000##000000
##A0CC401.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)
#D7BF2A
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#A7C2B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a0cc40;
/* rgb */ color: rgb(160, 204, 64);
/* oklch */ color: oklch(78.7% 0.171 125.3);
Tailwind
colors: {
  custom: {
    50: '#c0db7d',
    500: '#a0cc40',
    950: '#000000',
  },
}
SCSS
$custom: #a0cc40;
$custom-light: #c0db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a0cc40",
  "rgb": {
    "r": 160,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 78.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78738,
    "c": 0.17134,
    "h": 125.3
  },
  "luminance": 0.51029
}

Semantic roles & 50–950 ramp

primary
#A0CC40
secondary
#4B347C
accent
#47E177
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A0CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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