#A6CF39#A6CF39

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

Color values

HEX#A6CF39
RGBrgb(166, 207, 57)
HSLhsl(76, 61%, 52%)
HSVhsv(76, 72%, 81%)
CMYKcmyk(19.8%, 0%, 72.5%, 18.8%)
CIE-LABlab(77.89, -33.87, 65.83)
CIE-LCHlch(77.89, 74.03, 117.22°)
OKLaboklab(79.79% -0.0985 0.1467)
OKLCHoklch(79.79% 0.177 123.9)
XYZxyz(38.7776, 53.0277, 12.0625)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CF39 #6239CF
analogous
#CFAD39 #A6CF39 #5BCF39
triadic
#A6CF39 #39A6CF #CF39A6
tetradic
#A6CF39 #39CFAD #6239CF #CF395B
square
#A6CF39 #39CFAD #6239CF #CF395B
split-complementary
#A6CF39 #395BCF #AD39CF
monochromatic
#5A721C #81A328 #A6CF39 #BCDB6A #D2E79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6CF39#FFFFFF#000000##000000
##A6CF391.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)
#DBC21C
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#AEC5B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a6cf39;
/* rgb */ color: rgb(166, 207, 57);
/* oklch */ color: oklch(79.8% 0.177 123.9);
Tailwind
colors: {
  custom: {
    50: '#c4dd79',
    500: '#a6cf39',
    950: '#000000',
  },
}
SCSS
$custom: #a6cf39;
$custom-light: #c4dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cf39",
  "rgb": {
    "r": 166,
    "g": 207,
    "b": 57
  },
  "hsl": {
    "h": 76.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79788,
    "c": 0.17667,
    "h": 123.9
  },
  "luminance": 0.53028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6CF39

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

Preview Lab → · Contrast checker → · Palette generator →

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