#A6D151#A6D151

#A6D151 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.4% C 0.162 H 125.6°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#A6D151
RGBrgb(166, 209, 81)
HSLhsl(80, 58%, 57%)
HSVhsv(80, 61%, 82%)
CMYKcmyk(20.6%, 0%, 61.2%, 18%)
CIE-LABlab(78.64, -33.19, 57.29)
CIE-LCHlch(78.64, 66.20, 120.09°)
OKLaboklab(80.45% -0.0946 0.132)
OKLCHoklch(80.45% 0.162 125.6)
XYZxyz(40.0117, 54.3015, 16.1563)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D151 #7C51D1
analogous
#D1BC51 #A6D151 #66D151
triadic
#A6D151 #51A6D1 #D151A6
tetradic
#A6D151 #51D1BC #7C51D1 #D15166
square
#A6D151 #51D1BC #7C51D1 #D15166
split-complementary
#A6D151 #5166D1 #BC51D1
monochromatic
#648523 #88B530 #A6D151 #BFDE81 #D8EBB2

Accessibility & contrast

On white

1.77
#A6D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#A6D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D151
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D151#FFFFFF#000000##000000
##A6D1511.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC442
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#ACC8B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a6d151;
/* rgb */ color: rgb(166, 209, 81);
/* oklch */ color: oklch(80.4% 0.162 125.6);
Tailwind
colors: {
  custom: {
    50: '#c3df87',
    500: '#a6d151',
    950: '#000000',
  },
}
SCSS
$custom: #a6d151;
$custom-light: #c3df87;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d151",
  "rgb": {
    "r": 166,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 80.156,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80447,
    "c": 0.1624,
    "h": 125.6
  },
  "luminance": 0.54302
}

Semantic roles & 50–950 ramp

primary
#A6D151
secondary
#563B8B
accent
#46E17A
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D151

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

Preview Lab → · Contrast checker → · Palette generator →

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