#A6D451#A6D451

#A6D451 is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 81.1% C 0.166 H 126.3°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#A6D451
RGBrgb(166, 212, 81)
HSLhsl(81, 60%, 57%)
HSVhsv(81, 62%, 83%)
CMYKcmyk(21.7%, 0%, 61.8%, 16.9%)
CIE-LABlab(79.49, -34.57, 58.22)
CIE-LCHlch(79.49, 67.71, 120.70°)
OKLaboklab(81.14% -0.0984 0.134)
OKLCHoklch(81.14% 0.166 126.3)
XYZxyz(40.7546, 55.7875, 16.4039)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D451 #7F51D4
analogous
#D4C151 #A6D451 #64D451
triadic
#A6D451 #51A6D4 #D451A6
tetradic
#A6D451 #51D4C1 #7F51D4 #D45164
square
#A6D451 #51D4C1 #7F51D4 #D45164
split-complementary
#A6D451 #5164D4 #C151D4
monochromatic
#658922 #89BA2E #A6D451 #BFE082 #D8ECB3

Accessibility & contrast

On white

1.73
#A6D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#A6D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D451
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D451#FFFFFF#000000##000000
##A6D4511.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#D8C45B
Tritanopia (blue-blind)
#ACCBB8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a6d451;
/* rgb */ color: rgb(166, 212, 81);
/* oklch */ color: oklch(81.1% 0.166 126.3);
Tailwind
colors: {
  custom: {
    50: '#c3e187',
    500: '#a6d451',
    950: '#000000',
  },
}
SCSS
$custom: #a6d451;
$custom-light: #c3e187;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d451",
  "rgb": {
    "r": 166,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 81.069,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81139,
    "c": 0.16624,
    "h": 126.3
  },
  "luminance": 0.55788
}

Semantic roles & 50–950 ramp

primary
#A6D451
secondary
#583A8F
accent
#44E47C
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D451

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

Preview Lab → · Contrast checker → · Palette generator →

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