#A6D752#A6D752

#A6D752 is a light, vivid yellow-green. Relative luminance 0.573; OKLCH L 81.8% C 0.169 H 127.0°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#A6D752
RGBrgb(166, 215, 82)
HSLhsl(82, 62%, 58%)
HSVhsv(82, 62%, 84%)
CMYKcmyk(22.8%, 0%, 61.9%, 15.7%)
CIE-LABlab(80.36, -35.86, 58.75)
CIE-LCHlch(80.36, 68.83, 121.40°)
OKLaboklab(81.84% -0.1019 0.1352)
OKLCHoklch(81.84% 0.169 127)
XYZxyz(41.5493, 57.3164, 16.8552)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D752 #8352D7
analogous
#D7C552 #A6D752 #63D752
triadic
#A6D752 #52A6D7 #D752A6
tetradic
#A6D752 #52D7C5 #8352D7 #D75263
square
#A6D752 #52D7C5 #8352D7 #D75263
split-complementary
#A6D752 #5263D7 #C552D7
monochromatic
#668E21 #89C02C #A6D752 #C0E284 #D9EEB5

Accessibility & contrast

On white

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

On black

12.46
#A6D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D752
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D752#FFFFFF#000000##000000
##A6D7521.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#DBC65C
Tritanopia (blue-blind)
#ACCEBB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a6d752;
/* rgb */ color: rgb(166, 215, 82);
/* oklch */ color: oklch(81.8% 0.169 127.0);
Tailwind
colors: {
  custom: {
    50: '#c3e388',
    500: '#a6d752',
    950: '#000000',
  },
}
SCSS
$custom: #a6d752;
$custom-light: #c3e388;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d752",
  "rgb": {
    "r": 166,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 82.105,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81841,
    "c": 0.16931,
    "h": 127
  },
  "luminance": 0.57317
}

Semantic roles & 50–950 ramp

primary
#A6D752
secondary
#5B3A93
accent
#42E67E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D752

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

Preview Lab → · Contrast checker → · Palette generator →

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