#A6D545#A6D545

#A6D545 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.3% C 0.176 H 125.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#A6D545
RGBrgb(166, 213, 69)
HSLhsl(80, 63%, 55%)
HSVhsv(80, 68%, 84%)
CMYKcmyk(22.1%, 0%, 67.6%, 16.5%)
CIE-LABlab(79.68, -35.89, 63.26)
CIE-LCHlch(79.68, 72.73, 119.57°)
OKLaboklab(81.26% -0.1031 0.1431)
OKLCHoklch(81.26% 0.176 125.8)
XYZxyz(40.5945, 56.1246, 14.3235)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D545 #7445D5
analogous
#D5BC45 #A6D545 #5ED545
triadic
#A6D545 #45A6D5 #D545A6
tetradic
#A6D545 #45D5BC #7445D5 #D5455E
square
#A6D545 #45D5BC #7445D5 #D5455E
split-complementary
#A6D545 #455ED5 #BC45D5
monochromatic
#61821D #87B429 #A6D545 #BEE077 #D6ECA9

Accessibility & contrast

On white

1.72
#A6D545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#A6D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D545
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D545#FFFFFF#000000##000000
##A6D5451.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C730
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#ADCBB8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a6d545;
/* rgb */ color: rgb(166, 213, 69);
/* oklch */ color: oklch(81.3% 0.176 125.8);
Tailwind
colors: {
  custom: {
    50: '#c4e280',
    500: '#a6d545',
    950: '#000000',
  },
}
SCSS
$custom: #a6d545;
$custom-light: #c4e280;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d545",
  "rgb": {
    "r": 166,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 79.583,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81264,
    "c": 0.17632,
    "h": 125.8
  },
  "luminance": 0.56125
}

Semantic roles & 50–950 ramp

primary
#A6D545
secondary
#513589
accent
#42E677
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6D545

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

Preview Lab → · Contrast checker → · Palette generator →

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