#A6D128#A6D128

#A6D128 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.2% C 0.188 H 123.8°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#A6D128
RGBrgb(166, 209, 40)
HSLhsl(75, 68%, 49%)
HSVhsv(75, 81%, 82%)
CMYKcmyk(20.6%, 0%, 80.9%, 18%)
CIE-LABlab(78.38, -35.55, 71.44)
CIE-LCHlch(78.38, 79.80, 116.46°)
OKLaboklab(80.16% -0.1044 0.1558)
OKLCHoklch(80.16% 0.188 123.8)
XYZxyz(38.9098, 53.8608, 10.3533)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D128 #5328D1
analogous
#D1A828 #A6D128 #52D128
triadic
#A6D128 #28A6D1 #D128A6
tetradic
#A6D128 #28D1A8 #5328D1 #D12852
square
#A6D128 #28D1A8 #5328D1 #D12852
split-complementary
#A6D128 #2852D1 #A828D1
monochromatic
#546A14 #7D9E1E #A6D128 #BCDF57 #D1E98B

Accessibility & contrast

On white

1.78
#A6D128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#A6D128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D128
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D128#FFFFFF#000000##000000
##A6D1281.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#D8C23B
Tritanopia (blue-blind)
#AFC6B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a6d128;
/* rgb */ color: rgb(166, 209, 40);
/* oklch */ color: oklch(80.2% 0.188 123.8);
Tailwind
colors: {
  custom: {
    50: '#c5df72',
    500: '#a6d128',
    950: '#000000',
  },
}
SCSS
$custom: #a6d128;
$custom-light: #c5df72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d128",
  "rgb": {
    "r": 166,
    "g": 209,
    "b": 40
  },
  "hsl": {
    "h": 75.266,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80158,
    "c": 0.18752,
    "h": 123.8
  },
  "luminance": 0.53861
}

Semantic roles & 50–950 ramp

primary
#A6D128
secondary
#3C2974
accent
#3DEB69
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A6D128

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

Preview Lab → · Contrast checker → · Palette generator →

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