#A6CF3A#A6CF3A

#A6CF3A is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.8% C 0.176 H 123.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#A6CF3A
RGBrgb(166, 207, 58)
HSLhsl(77, 61%, 52%)
HSVhsv(77, 72%, 81%)
CMYKcmyk(19.8%, 0%, 72%, 18.8%)
CIE-LABlab(77.90, -33.81, 65.49)
CIE-LCHlch(77.90, 73.70, 117.31°)
OKLaboklab(79.8% -0.0983 0.1461)
OKLCHoklch(79.8% 0.176 123.9)
XYZxyz(38.8028, 53.0378, 12.1952)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CF3A #633ACF
analogous
#CFAD3A #A6CF3A #5CCF3A
triadic
#A6CF3A #3AA6CF #CF3AA6
tetradic
#A6CF3A #3ACFAD #633ACF #CF3A5C
square
#A6CF3A #3ACFAD #633ACF #CF3A5C
split-complementary
#A6CF3A #3A5CCF #AD3ACF
monochromatic
#5B731C #82A428 #A6CF3A #BCDB6B #D2E79C

Accessibility & contrast

On white

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

On black

11.61
#A6CF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CF3A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CF3A#FFFFFF#000000##000000
##A6CF3A1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21E
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#AEC5B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a6cf3a;
/* rgb */ color: rgb(166, 207, 58);
/* oklch */ color: oklch(79.8% 0.176 123.9);
Tailwind
colors: {
  custom: {
    50: '#c4dd7a',
    500: '#a6cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #a6cf3a;
$custom-light: #c4dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cf3a",
  "rgb": {
    "r": 166,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 76.51,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79795,
    "c": 0.17608,
    "h": 123.9
  },
  "luminance": 0.53038
}

Semantic roles & 50–950 ramp

primary
#A6CF3A
secondary
#46327B
accent
#44E470
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A6CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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