#A6D948#A6D948

#A6D948 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.2% C 0.179 H 126.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#A6D948
RGBrgb(166, 217, 72)
HSLhsl(81, 66%, 57%)
HSVhsv(81, 67%, 85%)
CMYKcmyk(23.5%, 0%, 66.8%, 14.9%)
CIE-LABlab(80.85, -37.50, 63.31)
CIE-LCHlch(80.85, 73.58, 120.64°)
OKLaboklab(82.21% -0.1072 0.1436)
OKLCHoklch(82.21% 0.179 126.8)
XYZxyz(41.7085, 58.1999, 15.1659)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D948 #7B48D9
analogous
#D9C348 #A6D948 #5ED948
triadic
#A6D948 #48A6D9 #D948A6
tetradic
#A6D948 #48D9C3 #7B48D9 #D9485E
square
#A6D948 #48D9C3 #7B48D9 #D9485E
split-complementary
#A6D948 #485ED9 #C348D9
monochromatic
#648A1D #88BD27 #A6D948 #BFE47B #D7EEAD

Accessibility & contrast

On white

1.66
#A6D948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#A6D948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D948
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D948#FFFFFF#000000##000000
##A6D9481.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB33
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#ACCFBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a6d948;
/* rgb */ color: rgb(166, 217, 72);
/* oklch */ color: oklch(82.2% 0.179 126.8);
Tailwind
colors: {
  custom: {
    50: '#c4e582',
    500: '#a6d948',
    950: '#000000',
  },
}
SCSS
$custom: #a6d948;
$custom-light: #c4e582;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d948",
  "rgb": {
    "r": 166,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 81.103,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82214,
    "c": 0.17921,
    "h": 126.8
  },
  "luminance": 0.58201
}

Semantic roles & 50–950 ramp

primary
#A6D948
secondary
#553590
accent
#3FE97B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6D948

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

Preview Lab → · Contrast checker → · Palette generator →

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