#A6CC40#A6CC40

#A6CC40 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.1% C 0.169 H 123.5°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#A6CC40
RGBrgb(166, 204, 64)
HSLhsl(76, 58%, 53%)
HSVhsv(76, 69%, 80%)
CMYKcmyk(18.6%, 0%, 68.6%, 20%)
CIE-LABlab(77.08, -32.07, 62.49)
CIE-LCHlch(77.08, 70.24, 117.17°)
OKLaboklab(79.15% -0.093 0.1407)
OKLCHoklch(79.15% 0.169 123.5)
XYZxyz(38.2446, 51.6627, 12.8065)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CC40 #6640CC
analogous
#CCAC40 #A6CC40 #60CC40
triadic
#A6CC40 #40A6CC #CC40A6
tetradic
#A6CC40 #40CCAC #6640CC #CC4060
square
#A6CC40 #40CCAC #6640CC #CC4060
split-complementary
#A6CC40 #4060CC #AC40CC
monochromatic
#5C731F #83A32C #A6CC40 #BDD970 #D3E6A1

Accessibility & contrast

On white

1.85
#A6CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#A6CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CC40
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CC40#FFFFFF#000000##000000
##A6CC401.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF2A
Deuteranopia (green-blind)
#D3BE4B
Tritanopia (blue-blind)
#AEC2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a6cc40;
/* rgb */ color: rgb(166, 204, 64);
/* oklch */ color: oklch(79.1% 0.169 123.5);
Tailwind
colors: {
  custom: {
    50: '#c4db7d',
    500: '#a6cc40',
    950: '#000000',
  },
}
SCSS
$custom: #a6cc40;
$custom-light: #c4db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cc40",
  "rgb": {
    "r": 166,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 76.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79146,
    "c": 0.16867,
    "h": 123.5
  },
  "luminance": 0.51663
}

Semantic roles & 50–950 ramp

primary
#A6CC40
secondary
#48347C
accent
#47E171
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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