#A6D162#A6D162

#A6D162 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.6% C 0.148 H 127.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#A6D162
RGBrgb(166, 209, 98)
HSLhsl(83, 55%, 60%)
HSVhsv(83, 53%, 82%)
CMYKcmyk(20.6%, 0%, 53.1%, 18%)
CIE-LABlab(78.80, -31.68, 49.87)
CIE-LCHlch(78.80, 59.08, 122.42°)
OKLaboklab(80.64% -0.0889 0.1179)
OKLCHoklch(80.64% 0.148 127)
XYZxyz(40.7308, 54.5892, 19.9438)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D162 #8D62D1
analogous
#D1C462 #A6D162 #6FD162
triadic
#A6D162 #62A6D1 #D162A6
tetradic
#A6D162 #62D1C4 #8D62D1 #D1626F
square
#A6D162 #62D1C4 #8D62D1 #D1626F
split-complementary
#A6D162 #626FD1 #C462D1
monochromatic
#688F2A #8ABE38 #A6D162 #C1DF91 #DCEDC1

Accessibility & contrast

On white

1.76
#A6D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#A6D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D162
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D162#FFFFFF#000000##000000
##A6D1621.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC557
Deuteranopia (green-blind)
#D4C269
Tritanopia (blue-blind)
#ABC9B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a6d162;
/* rgb */ color: rgb(166, 209, 98);
/* oklch */ color: oklch(80.6% 0.148 127.0);
Tailwind
colors: {
  custom: {
    50: '#c3df92',
    500: '#a6d162',
    950: '#000000',
  },
}
SCSS
$custom: #a6d162;
$custom-light: #c3df92;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d162",
  "rgb": {
    "r": 166,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 83.243,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80636,
    "c": 0.14762,
    "h": 127
  },
  "luminance": 0.5459
}

Semantic roles & 50–950 ramp

primary
#A6D162
secondary
#624295
accent
#23C261
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A6D162

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

Preview Lab → · Contrast checker → · Palette generator →

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