#A6CD42#A6CD42

#A6CD42 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.4% C 0.169 H 123.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#A6CD42
RGBrgb(166, 205, 66)
HSLhsl(77, 58%, 53%)
HSVhsv(77, 68%, 80%)
CMYKcmyk(19%, 0%, 67.8%, 19.6%)
CIE-LABlab(77.38, -32.41, 62.03)
CIE-LCHlch(77.38, 69.99, 117.58°)
OKLaboklab(79.39% -0.0937 0.1401)
OKLCHoklch(79.39% 0.169 123.8)
XYZxyz(38.5409, 52.1627, 13.1912)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CD42 #6942CD
analogous
#CDAF42 #A6CD42 #60CD42
triadic
#A6CD42 #42A6CD #CD42A6
tetradic
#A6CD42 #42CDAF #6942CD #CD4260
square
#A6CD42 #42CDAF #6942CD #CD4260
split-complementary
#A6CD42 #4260CD #AF42CD
monochromatic
#5D761F #84A62C #A6CD42 #BDDA72 #D4E7A3

Accessibility & contrast

On white

1.84
#A6CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#A6CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CD42
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CD42#FFFFFF#000000##000000
##A6CD421.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#AEC3B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a6cd42;
/* rgb */ color: rgb(166, 205, 66);
/* oklch */ color: oklch(79.4% 0.169 123.8);
Tailwind
colors: {
  custom: {
    50: '#c4dc7e',
    500: '#a6cd42',
    950: '#000000',
  },
}
SCSS
$custom: #a6cd42;
$custom-light: #c4dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cd42",
  "rgb": {
    "r": 166,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 76.835,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79392,
    "c": 0.16853,
    "h": 123.8
  },
  "luminance": 0.52163
}

Semantic roles & 50–950 ramp

primary
#A6CD42
secondary
#4A357E
accent
#46E172
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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