#A6DF54#A6DF54

#A6DF54 is a very light, vivid yellow-green. Relative luminance 0.615; OKLCH L 83.7% C 0.178 H 128.7°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#A6DF54
RGBrgb(166, 223, 84)
HSLhsl(85, 68%, 60%)
HSVhsv(85, 62%, 87%)
CMYKcmyk(25.6%, 0%, 62.3%, 12.5%)
CIE-LABlab(82.66, -39.30, 60.42)
CIE-LCHlch(82.66, 72.08, 123.04°)
OKLaboklab(83.71% -0.1112 0.139)
OKLCHoklch(83.71% 0.178 128.7)
XYZxyz(43.7136, 61.5215, 17.9575)
Luminance0.6152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6DF54 #8D54DF
analogous
#DFD254 #A6DF54 #61DF54
triadic
#A6DF54 #54A6DF #DF54A6
tetradic
#A6DF54 #54DFD2 #8D54DF #DF5461
square
#A6DF54 #54DFD2 #8D54DF #DF5461
split-complementary
#A6DF54 #5461DF #D254DF
monochromatic
#689C1D #8ACF27 #A6DF54 #C1E988 #DCF2BB

Accessibility & contrast

On white

1.58
#A6DF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#A6DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6DF54
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6DF54#FFFFFF#000000##000000
##A6DF541.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D043
Deuteranopia (green-blind)
#E1CD5E
Tritanopia (blue-blind)
#ABD6C2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #a6df54;
/* rgb */ color: rgb(166, 223, 84);
/* oklch */ color: oklch(83.7% 0.178 128.7);
Tailwind
colors: {
  custom: {
    50: '#c4e98a',
    500: '#a6df54',
    950: '#000000',
  },
}
SCSS
$custom: #a6df54;
$custom-light: #c4e98a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6df54",
  "rgb": {
    "r": 166,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 84.604,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8371,
    "c": 0.17802,
    "h": 128.7
  },
  "luminance": 0.61522
}

Semantic roles & 50–950 ramp

primary
#A6DF54
secondary
#62389F
accent
#15D062
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A6DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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