#A6CF45#A6CF45

#A6CF45 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.9% C 0.169 H 124.4°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#A6CF45
RGBrgb(166, 207, 69)
HSLhsl(78, 59%, 54%)
HSVhsv(78, 67%, 81%)
CMYKcmyk(19.8%, 0%, 66.7%, 18.8%)
CIE-LABlab(77.97, -33.14, 61.48)
CIE-LCHlch(77.97, 69.85, 118.33°)
OKLaboklab(79.88% -0.0955 0.1393)
OKLCHoklch(79.88% 0.169 124.4)
XYZxyz(39.1132, 53.1620, 13.8297)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CF45 #6E45CF
analogous
#CFB345 #A6CF45 #61CF45
triadic
#A6CF45 #45A6CF #CF45A6
tetradic
#A6CF45 #45CFB3 #6E45CF #CF4561
square
#A6CF45 #45CFB3 #6E45CF #CF4561
split-complementary
#A6CF45 #4561CF #B345CF
monochromatic
#5F7A20 #85AB2C #A6CF45 #BDDC76 #D5E8A6

Accessibility & contrast

On white

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

On black

11.63
#A6CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CF45
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CF45#FFFFFF#000000##000000
##A6CF451.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC231
Deuteranopia (green-blind)
#D5C050
Tritanopia (blue-blind)
#ADC5B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a6cf45;
/* rgb */ color: rgb(166, 207, 69);
/* oklch */ color: oklch(79.9% 0.169 124.4);
Tailwind
colors: {
  custom: {
    50: '#c4dd80',
    500: '#a6cf45',
    950: '#000000',
  },
}
SCSS
$custom: #a6cf45;
$custom-light: #c4dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cf45",
  "rgb": {
    "r": 166,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 77.826,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79878,
    "c": 0.16892,
    "h": 124.4
  },
  "luminance": 0.53162
}

Semantic roles & 50–950 ramp

primary
#A6CF45
secondary
#4D3682
accent
#46E274
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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