#A6CC2D#A6CC2D

#A6CC2D is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.0% C 0.180 H 122.8°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#A6CC2D
RGBrgb(166, 204, 45)
HSLhsl(74, 64%, 49%)
HSVhsv(74, 78%, 80%)
CMYKcmyk(18.6%, 0%, 77.9%, 20%)
CIE-LABlab(76.97, -33.06, 68.79)
CIE-LCHlch(76.97, 76.32, 115.67°)
OKLaboklab(79.02% -0.0972 0.151)
OKLCHoklch(79.02% 0.18 122.8)
XYZxyz(37.7929, 51.4820, 10.4281)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CC2D #532DCC
analogous
#CCA32D #A6CC2D #57CC2D
triadic
#A6CC2D #2DA6CC #CC2DA6
tetradic
#A6CC2D #2DCCA3 #532DCC #CC2D57
square
#A6CC2D #2DCCA3 #532DCC #CC2D57
split-complementary
#A6CC2D #2D57CC #A32DCC
monochromatic
#546817 #7D9A22 #A6CC2D #BCDB5B #D1E68D

Accessibility & contrast

On white

1.86
#A6CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#A6CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CC2D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CC2D#FFFFFF#000000##000000
##A6CC2D1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D3BE3D
Tritanopia (blue-blind)
#AFC1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a6cc2d;
/* rgb */ color: rgb(166, 204, 45);
/* oklch */ color: oklch(79.0% 0.180 122.8);
Tailwind
colors: {
  custom: {
    50: '#c4db74',
    500: '#a6cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a6cc2d;
$custom-light: #c4db74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cc2d",
  "rgb": {
    "r": 166,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 74.34,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79023,
    "c": 0.17957,
    "h": 122.8
  },
  "luminance": 0.51482
}

Semantic roles & 50–950 ramp

primary
#A6CC2D
secondary
#3C2B72
accent
#41E769
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A6CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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