#A6D845#A6D845

#A6D845 is a light, vivid yellow-green. Relative luminance 0.576; OKLCH L 82.0% C 0.180 H 126.4°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#A6D845
RGBrgb(166, 216, 69)
HSLhsl(80, 65%, 56%)
HSVhsv(80, 68%, 85%)
CMYKcmyk(23.1%, 0%, 68.1%, 15.3%)
CIE-LABlab(80.54, -37.25, 64.14)
CIE-LCHlch(80.54, 74.17, 120.15°)
OKLaboklab(81.96% -0.1068 0.1449)
OKLCHoklch(81.96% 0.18 126.4)
XYZxyz(41.3561, 57.6477, 14.5774)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D845 #7745D8
analogous
#D8C045 #A6D845 #5CD845
triadic
#A6D845 #45A6D8 #D845A6
tetradic
#A6D845 #45D8C0 #7745D8 #D8455C
square
#A6D845 #45D8C0 #7745D8 #D8455C
split-complementary
#A6D845 #455CD8 #C045D8
monochromatic
#62861C #87B927 #A6D845 #BEE378 #D6EDAA

Accessibility & contrast

On white

1.68
#A6D845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#A6D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D845
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D845#FFFFFF#000000##000000
##A6D8451.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2F
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#ADCEBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a6d845;
/* rgb */ color: rgb(166, 216, 69);
/* oklch */ color: oklch(82.0% 0.180 126.4);
Tailwind
colors: {
  custom: {
    50: '#c4e481',
    500: '#a6d845',
    950: '#000000',
  },
}
SCSS
$custom: #a6d845;
$custom-light: #c4e481;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d845",
  "rgb": {
    "r": 166,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 80.408,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81959,
    "c": 0.18001,
    "h": 126.4
  },
  "luminance": 0.57648
}

Semantic roles & 50–950 ramp

primary
#A6D845
secondary
#52348D
accent
#40E879
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6D845

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

Preview Lab → · Contrast checker → · Palette generator →

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