#A6C240#A6C240

#A6C240 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.8% C 0.157 H 120.7°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#A6C240
RGBrgb(166, 194, 64)
HSLhsl(73, 52%, 51%)
HSVhsv(73, 67%, 76%)
CMYKcmyk(14.4%, 0%, 67%, 23.9%)
CIE-LABlab(74.23, -27.34, 59.57)
CIE-LCHlch(74.23, 65.55, 114.65°)
OKLaboklab(76.85% -0.0799 0.1346)
OKLCHoklch(76.85% 0.157 120.7)
XYZxyz(35.9436, 47.0608, 12.0396)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C240 #5C40C2
analogous
#C29D40 #A6C240 #65C240
triadic
#A6C240 #40A6C2 #C240A6
tetradic
#A6C240 #40C29D #5C40C2 #C24065
square
#A6C240 #40C29D #5C40C2 #C24065
split-complementary
#A6C240 #4065C2 #9D40C2
monochromatic
#586721 #7F9530 #A6C240 #BCD16E #D1E09D

Accessibility & contrast

On white

2.02
#A6C240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#A6C240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C240
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C240#FFFFFF#000000##000000
##A6C2401.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72D
Deuteranopia (green-blind)
#CAB74A
Tritanopia (blue-blind)
#AFB8A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a6c240;
/* rgb */ color: rgb(166, 194, 64);
/* oklch */ color: oklch(76.8% 0.157 120.7);
Tailwind
colors: {
  custom: {
    50: '#c3d47c',
    500: '#a6c240',
    950: '#000000',
  },
}
SCSS
$custom: #a6c240;
$custom-light: #c3d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c240",
  "rgb": {
    "r": 166,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 72.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76847,
    "c": 0.15653,
    "h": 120.7
  },
  "luminance": 0.47061
}

Semantic roles & 50–950 ramp

primary
#A6C240
secondary
#9E92CC
accent
#4DDB6B
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A6C240

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

Preview Lab → · Contrast checker → · Palette generator →

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