#A6D142#A6D142

#A6D142 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.3% C 0.173 H 124.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#A6D142
RGBrgb(166, 209, 66)
HSLhsl(78, 61%, 54%)
HSVhsv(78, 68%, 82%)
CMYKcmyk(20.6%, 0%, 68.4%, 18%)
CIE-LABlab(78.52, -34.26, 63.20)
CIE-LCHlch(78.52, 71.89, 118.46°)
OKLaboklab(80.32% -0.0988 0.1425)
OKLCHoklch(80.32% 0.173 124.7)
XYZxyz(39.5100, 54.1009, 13.5142)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D142 #6D42D1
analogous
#D1B542 #A6D142 #5FD142
triadic
#A6D142 #42A6D1 #D142A6
tetradic
#A6D142 #42D1B5 #6D42D1 #D1425F
square
#A6D142 #42D1B5 #6D42D1 #D1425F
split-complementary
#A6D142 #425FD1 #B542D1
monochromatic
#5F7B1E #85AC2A #A6D142 #BDDD73 #D4E9A4

Accessibility & contrast

On white

1.78
#A6D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#A6D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D142
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D142#FFFFFF#000000##000000
##A6D1421.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42C
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#ADC7B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a6d142;
/* rgb */ color: rgb(166, 209, 66);
/* oklch */ color: oklch(80.3% 0.173 124.7);
Tailwind
colors: {
  custom: {
    50: '#c4df7e',
    500: '#a6d142',
    950: '#000000',
  },
}
SCSS
$custom: #a6d142;
$custom-light: #c4df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d142",
  "rgb": {
    "r": 166,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 78.042,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80316,
    "c": 0.17343,
    "h": 124.7
  },
  "luminance": 0.54101
}

Semantic roles & 50–950 ramp

primary
#A6D142
secondary
#4C3583
accent
#44E474
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6D142

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

Preview Lab → · Contrast checker → · Palette generator →

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