#A6CE40#A6CE40

#A6CE40 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.6% C 0.171 H 123.9°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#A6CE40
RGBrgb(166, 206, 64)
HSLhsl(77, 59%, 53%)
HSVhsv(77, 69%, 81%)
CMYKcmyk(19.4%, 0%, 68.9%, 19.2%)
CIE-LABlab(77.65, -33.00, 63.07)
CIE-LCHlch(77.65, 71.18, 117.62°)
OKLaboklab(79.61% -0.0955 0.1419)
OKLCHoklch(79.61% 0.171 123.9)
XYZxyz(38.7230, 52.6195, 12.9660)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CE40 #6840CE
analogous
#CEAF40 #A6CE40 #5FCE40
triadic
#A6CE40 #40A6CE #CE40A6
tetradic
#A6CE40 #40CEAF #6840CE #CE405F
square
#A6CE40 #40CEAF #6840CE #CE405F
split-complementary
#A6CE40 #405FCE #AF40CE
monochromatic
#5D751E #83A62B #A6CE40 #BDDA71 #D3E7A1

Accessibility & contrast

On white

1.82
#A6CE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#A6CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CE40
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CE40#FFFFFF#000000##000000
##A6CE401.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D4C04C
Tritanopia (blue-blind)
#AEC4B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a6ce40;
/* rgb */ color: rgb(166, 206, 64);
/* oklch */ color: oklch(79.6% 0.171 123.9);
Tailwind
colors: {
  custom: {
    50: '#c4dd7d',
    500: '#a6ce40',
    950: '#000000',
  },
}
SCSS
$custom: #a6ce40;
$custom-light: #c4dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ce40",
  "rgb": {
    "r": 166,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 76.901,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79607,
    "c": 0.1711,
    "h": 123.9
  },
  "luminance": 0.5262
}

Semantic roles & 50–950 ramp

primary
#A6CE40
secondary
#49347E
accent
#45E272
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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