#A6C540#A6C540

#A6C540 is a light, vivid yellow-green. Relative luminance 0.484; OKLCH L 77.5% C 0.160 H 121.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#A6C540
RGBrgb(166, 197, 64)
HSLhsl(74, 53%, 51%)
HSVhsv(74, 68%, 77%)
CMYKcmyk(15.7%, 0%, 67.5%, 22.7%)
CIE-LABlab(75.08, -28.78, 60.45)
CIE-LCHlch(75.08, 66.95, 115.46°)
OKLaboklab(77.54% -0.0839 0.1364)
OKLCHoklch(77.54% 0.16 121.6)
XYZxyz(36.6180, 48.4096, 12.2644)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C540 #5F40C5
analogous
#C5A140 #A6C540 #63C540
triadic
#A6C540 #40A6C5 #C540A6
tetradic
#A6C540 #40C5A1 #5F40C5 #C54063
square
#A6C540 #40C5A1 #5F40C5 #C54063
split-complementary
#A6C540 #4063C5 #A140C5
monochromatic
#596A20 #80992F #A6C540 #BCD36F #D2E29E

Accessibility & contrast

On white

1.97
#A6C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#A6C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C540
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C540#FFFFFF#000000##000000
##A6C5401.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B92C
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#AFBBAA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a6c540;
/* rgb */ color: rgb(166, 197, 64);
/* oklch */ color: oklch(77.5% 0.160 121.6);
Tailwind
colors: {
  custom: {
    50: '#c4d67c',
    500: '#a6c540',
    950: '#000000',
  },
}
SCSS
$custom: #a6c540;
$custom-light: #c4d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c540",
  "rgb": {
    "r": 166,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 73.985,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77535,
    "c": 0.16016,
    "h": 121.6
  },
  "luminance": 0.4841
}

Semantic roles & 50–950 ramp

primary
#A6C540
secondary
#A193CE
accent
#4BDD6D
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A6C540

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

Preview Lab → · Contrast checker → · Palette generator →

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