#A6CC42#A6CC42

#A6CC42 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.2% C 0.167 H 123.5°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#A6CC42
RGBrgb(166, 204, 66)
HSLhsl(77, 58%, 53%)
HSVhsv(77, 68%, 80%)
CMYKcmyk(18.6%, 0%, 67.6%, 20%)
CIE-LABlab(77.09, -31.94, 61.74)
CIE-LCHlch(77.09, 69.52, 117.36°)
OKLaboklab(79.16% -0.0925 0.1394)
OKLCHoklch(79.16% 0.167 123.5)
XYZxyz(38.3025, 51.6858, 13.1117)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CC42 #6842CC
analogous
#CCAD42 #A6CC42 #61CC42
triadic
#A6CC42 #42A6CC #CC42A6
tetradic
#A6CC42 #42CCAD #6842CC #CC4261
square
#A6CC42 #42CCAD #6842CC #CC4261
split-complementary
#A6CC42 #4261CC #AD42CC
monochromatic
#5D741F #83A42C #A6CC42 #BDD972 #D3E6A2

Accessibility & contrast

On white

1.85
#A6CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#A6CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CC42
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CC42#FFFFFF#000000##000000
##A6CC421.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#AEC2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a6cc42;
/* rgb */ color: rgb(166, 204, 66);
/* oklch */ color: oklch(79.2% 0.167 123.5);
Tailwind
colors: {
  custom: {
    50: '#c4db7e',
    500: '#a6cc42',
    950: '#000000',
  },
}
SCSS
$custom: #a6cc42;
$custom-light: #c4db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cc42",
  "rgb": {
    "r": 166,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 76.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79161,
    "c": 0.16731,
    "h": 123.5
  },
  "luminance": 0.51686
}

Semantic roles & 50–950 ramp

primary
#A6CC42
secondary
#49357D
accent
#47E171
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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