#A6CD40#A6CD40

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

Color values

HEX#A6CD40
RGBrgb(166, 205, 64)
HSLhsl(77, 59%, 53%)
HSVhsv(77, 69%, 80%)
CMYKcmyk(19%, 0%, 68.8%, 19.6%)
CIE-LABlab(77.36, -32.54, 62.78)
CIE-LCHlch(77.36, 70.71, 117.40°)
OKLaboklab(79.38% -0.0943 0.1413)
OKLCHoklch(79.38% 0.17 123.7)
XYZxyz(38.4830, 52.1395, 12.8860)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CD40 #6740CD
analogous
#CDAE40 #A6CD40 #5FCD40
triadic
#A6CD40 #40A6CD #CD40A6
tetradic
#A6CD40 #40CDAE #6740CD #CD405F
square
#A6CD40 #40CDAE #6740CD #CD405F
split-complementary
#A6CD40 #405FCD #AE40CD
monochromatic
#5C741E #83A52B #A6CD40 #BDDA71 #D3E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6CD40#FFFFFF#000000##000000
##A6CD401.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)
#D8C02A
Deuteranopia (green-blind)
#D3BF4C
Tritanopia (blue-blind)
#AEC3B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a6cd40;
/* rgb */ color: rgb(166, 205, 64);
/* oklch */ color: oklch(79.4% 0.170 123.7);
Tailwind
colors: {
  custom: {
    50: '#c4dc7d',
    500: '#a6cd40',
    950: '#000000',
  },
}
SCSS
$custom: #a6cd40;
$custom-light: #c4dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cd40",
  "rgb": {
    "r": 166,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 76.596,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79376,
    "c": 0.16989,
    "h": 123.7
  },
  "luminance": 0.5214
}

Semantic roles & 50–950 ramp

primary
#A6CD40
secondary
#48347D
accent
#46E271
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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