#A6D242#A6D242

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

Color values

HEX#A6D242
RGBrgb(166, 210, 66)
HSLhsl(78, 62%, 54%)
HSVhsv(78, 69%, 82%)
CMYKcmyk(21%, 0%, 68.6%, 17.6%)
CIE-LABlab(78.81, -34.72, 63.49)
CIE-LCHlch(78.81, 72.37, 118.67°)
OKLaboklab(80.55% -0.1001 0.1431)
OKLCHoklch(80.55% 0.175 125)
XYZxyz(39.7561, 54.5931, 13.5962)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D242 #6E42D2
analogous
#D2B642 #A6D242 #5ED242
triadic
#A6D242 #42A6D2 #D242A6
tetradic
#A6D242 #42D2B6 #6E42D2 #D2425E
square
#A6D242 #42D2B6 #6E42D2 #D2425E
split-complementary
#A6D242 #425ED2 #B642D2
monochromatic
#5F7C1E #85AD29 #A6D242 #BDDE73 #D5EAA5

Accessibility & contrast

On white

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

On black

11.92
#A6D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D242
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D242#FFFFFF#000000##000000
##A6D2421.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6d242;
/* rgb */ color: rgb(166, 210, 66);
/* oklch */ color: oklch(80.5% 0.175 125.0);
Tailwind
colors: {
  custom: {
    50: '#c4e07e',
    500: '#a6d242',
    950: '#000000',
  },
}
SCSS
$custom: #a6d242;
$custom-light: #c4e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d242",
  "rgb": {
    "r": 166,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 78.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.17465,
    "h": 125
  },
  "luminance": 0.54594
}

Semantic roles & 50–950 ramp

primary
#A6D242
secondary
#4D3484
accent
#43E575
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6D242

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

Preview Lab → · Contrast checker → · Palette generator →

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