#A6D340#A6D340

#A6D340 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 80.8% C 0.177 H 125.1°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#A6D340
RGBrgb(166, 211, 64)
HSLhsl(78, 63%, 54%)
HSVhsv(78, 70%, 83%)
CMYKcmyk(21.3%, 0%, 69.7%, 17.3%)
CIE-LABlab(79.08, -35.30, 64.51)
CIE-LCHlch(79.08, 73.54, 118.68°)
OKLaboklab(80.76% -0.1019 0.145)
OKLCHoklch(80.76% 0.177 125.1)
XYZxyz(39.9458, 55.0652, 13.3736)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D340 #6D40D3
analogous
#D3B640 #A6D340 #5DD340
triadic
#A6D340 #40A6D3 #D340A6
tetradic
#A6D340 #40D3B6 #6D40D3 #D3405D
square
#A6D340 #40D3B6 #6D40D3 #D3405D
split-complementary
#A6D340 #405DD3 #B640D3
monochromatic
#5F7C1D #85AE28 #A6D340 #BDDE72 #D4EAA3

Accessibility & contrast

On white

1.75
#A6D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#A6D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D340
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D340#FFFFFF#000000##000000
##A6D3401.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC528
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#ADC9B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a6d340;
/* rgb */ color: rgb(166, 211, 64);
/* oklch */ color: oklch(80.8% 0.177 125.1);
Tailwind
colors: {
  custom: {
    50: '#c4e07d',
    500: '#a6d340',
    950: '#000000',
  },
}
SCSS
$custom: #a6d340;
$custom-light: #c4e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d340",
  "rgb": {
    "r": 166,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 78.367,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80763,
    "c": 0.17717,
    "h": 125.1
  },
  "luminance": 0.55066
}

Semantic roles & 50–950 ramp

primary
#A6D340
secondary
#4C3384
accent
#42E674
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6D340

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

Preview Lab → · Contrast checker → · Palette generator →

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