#A6D240#A6D240

#A6D240 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.5% C 0.176 H 124.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#A6D240
RGBrgb(166, 210, 64)
HSLhsl(78, 62%, 54%)
HSVhsv(78, 70%, 82%)
CMYKcmyk(21%, 0%, 69.5%, 17.6%)
CIE-LABlab(78.79, -34.84, 64.22)
CIE-LCHlch(78.79, 73.07, 118.48°)
OKLaboklab(80.53% -0.1006 0.1444)
OKLCHoklch(80.53% 0.176 124.9)
XYZxyz(39.6982, 54.5699, 13.2911)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D240 #6C40D2
analogous
#D2B540 #A6D240 #5DD240
triadic
#A6D240 #40A6D2 #D240A6
tetradic
#A6D240 #40D2B5 #6C40D2 #D2405D
square
#A6D240 #40D2B5 #6C40D2 #D2405D
split-complementary
#A6D240 #405DD2 #B540D2
monochromatic
#5E7B1D #85AC29 #A6D240 #BDDE72 #D4E9A3

Accessibility & contrast

On white

1.76
#A6D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#A6D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D240
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D240#FFFFFF#000000##000000
##A6D2401.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC528
Deuteranopia (green-blind)
#D7C34C
Tritanopia (blue-blind)
#ADC8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a6d240;
/* rgb */ color: rgb(166, 210, 64);
/* oklch */ color: oklch(80.5% 0.176 124.9);
Tailwind
colors: {
  custom: {
    50: '#c4e07d',
    500: '#a6d240',
    950: '#000000',
  },
}
SCSS
$custom: #a6d240;
$custom-light: #c4e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d240",
  "rgb": {
    "r": 166,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 78.082,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80532,
    "c": 0.17596,
    "h": 124.9
  },
  "luminance": 0.5457
}

Semantic roles & 50–950 ramp

primary
#A6D240
secondary
#4B3483
accent
#43E574
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6D240

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

Preview Lab → · Contrast checker → · Palette generator →

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