#A6CF40#A6CF40

#A6CF40 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.8% C 0.172 H 124.2°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#A6CF40
RGBrgb(166, 207, 64)
HSLhsl(77, 60%, 53%)
HSVhsv(77, 69%, 81%)
CMYKcmyk(19.8%, 0%, 69.1%, 18.8%)
CIE-LABlab(77.94, -33.46, 63.36)
CIE-LCHlch(77.94, 71.65, 117.84°)
OKLaboklab(79.84% -0.0968 0.1425)
OKLCHoklch(79.84% 0.172 124.2)
XYZxyz(38.9645, 53.1025, 13.0465)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CF40 #6940CF
analogous
#CFB140 #A6CF40 #5ECF40
triadic
#A6CF40 #40A6CF #CF40A6
tetradic
#A6CF40 #40CFB1 #6940CF #CF405E
square
#A6CF40 #40CFB1 #6940CF #CF405E
split-complementary
#A6CF40 #405ECF #B140CF
monochromatic
#5D771E #84A82A #A6CF40 #BDDB71 #D4E8A2

Accessibility & contrast

On white

1.81
#A6CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#A6CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CF40
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CF40#FFFFFF#000000##000000
##A6CF401.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC229
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#AEC5B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a6cf40;
/* rgb */ color: rgb(166, 207, 64);
/* oklch */ color: oklch(79.8% 0.172 124.2);
Tailwind
colors: {
  custom: {
    50: '#c4dd7d',
    500: '#a6cf40',
    950: '#000000',
  },
}
SCSS
$custom: #a6cf40;
$custom-light: #c4dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cf40",
  "rgb": {
    "r": 166,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 77.203,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79838,
    "c": 0.17231,
    "h": 124.2
  },
  "luminance": 0.53103
}

Semantic roles & 50–950 ramp

primary
#A6CF40
secondary
#4A347F
accent
#45E372
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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