#A6D962#A6D962

#A6D962 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.5% C 0.158 H 128.7°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#A6D962
RGBrgb(166, 217, 98)
HSLhsl(86, 61%, 62%)
HSVhsv(86, 55%, 85%)
CMYKcmyk(23.5%, 0%, 54.8%, 14.9%)
CIE-LABlab(81.08, -35.37, 52.54)
CIE-LCHlch(81.08, 63.33, 123.95°)
OKLaboklab(82.47% -0.0991 0.1236)
OKLCHoklch(82.47% 0.158 128.7)
XYZxyz(42.7431, 58.6137, 20.6145)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D962 #9562D9
analogous
#D9D162 #A6D962 #6BD962
triadic
#A6D962 #62A6D9 #D962A6
tetradic
#A6D962 #62D9D1 #9562D9 #D9626B
square
#A6D962 #62D9D1 #9562D9 #D9626B
split-complementary
#A6D962 #626BD9 #D162D9
monochromatic
#699B26 #8ACC31 #A6D962 #C2E593 #DEF1C5

Accessibility & contrast

On white

1.65
#A6D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#A6D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D962
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D962#FFFFFF#000000##000000
##A6D9621.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC56
Deuteranopia (green-blind)
#DBC86A
Tritanopia (blue-blind)
#AAD0BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a6d962;
/* rgb */ color: rgb(166, 217, 98);
/* oklch */ color: oklch(82.5% 0.158 128.7);
Tailwind
colors: {
  custom: {
    50: '#c3e592',
    500: '#a6d962',
    950: '#000000',
  },
}
SCSS
$custom: #a6d962;
$custom-light: #c3e592;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d962",
  "rgb": {
    "r": 166,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 85.714,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82474,
    "c": 0.15848,
    "h": 128.7
  },
  "luminance": 0.58615
}

Semantic roles & 50–950 ramp

primary
#A6D962
secondary
#69409F
accent
#1DC966
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A6D962

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

Preview Lab → · Contrast checker → · Palette generator →

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