#A6D042#A6D042

#A6D042 is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.1% C 0.172 H 124.5°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#A6D042
RGBrgb(166, 208, 66)
HSLhsl(78, 60%, 54%)
HSVhsv(78, 68%, 82%)
CMYKcmyk(20.2%, 0%, 68.3%, 18.4%)
CIE-LABlab(78.23, -33.80, 62.91)
CIE-LCHlch(78.23, 71.41, 118.25°)
OKLaboklab(80.08% -0.0976 0.1419)
OKLCHoklch(80.08% 0.172 124.5)
XYZxyz(39.2654, 53.6117, 13.4327)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D042 #6C42D0
analogous
#D0B342 #A6D042 #5FD042
triadic
#A6D042 #42A6D0 #D042A6
tetradic
#A6D042 #42D0B3 #6C42D0 #D0425F
square
#A6D042 #42D0B3 #6C42D0 #D0425F
split-complementary
#A6D042 #425FD0 #B342D0
monochromatic
#5E791E #85AA2A #A6D042 #BDDC73 #D4E8A4

Accessibility & contrast

On white

1.79
#A6D042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#A6D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D042
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D042#FFFFFF#000000##000000
##A6D0421.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32C
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#AEC6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a6d042;
/* rgb */ color: rgb(166, 208, 66);
/* oklch */ color: oklch(80.1% 0.172 124.5);
Tailwind
colors: {
  custom: {
    50: '#c4de7e',
    500: '#a6d042',
    950: '#000000',
  },
}
SCSS
$custom: #a6d042;
$custom-light: #c4de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d042",
  "rgb": {
    "r": 166,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 77.746,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80084,
    "c": 0.17221,
    "h": 124.5
  },
  "luminance": 0.53612
}

Semantic roles & 50–950 ramp

primary
#A6D042
secondary
#4B3581
accent
#44E373
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6D042

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

Preview Lab → · Contrast checker → · Palette generator →

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