#A6C040#A6C040

#A6C040 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.4% C 0.154 H 120.1°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#A6C040
RGBrgb(166, 192, 64)
HSLhsl(72, 50%, 50%)
HSVhsv(72, 67%, 75%)
CMYKcmyk(13.5%, 0%, 66.7%, 24.7%)
CIE-LABlab(73.66, -26.38, 58.98)
CIE-LCHlch(73.66, 64.61, 114.10°)
OKLaboklab(76.39% -0.0772 0.1334)
OKLCHoklch(76.39% 0.154 120.1)
XYZxyz(35.5015, 46.1766, 11.8922)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C040 #5A40C0
analogous
#C09A40 #A6C040 #66C040
triadic
#A6C040 #40A6C0 #C040A6
tetradic
#A6C040 #40C09A #5A40C0 #C04066
square
#A6C040 #40C09A #5A40C0 #C04066
split-complementary
#A6C040 #4066C0 #9A40C0
monochromatic
#576421 #7F9230 #A6C040 #BBCF6E #D1DE9C

Accessibility & contrast

On white

2.05
#A6C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#A6C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C040
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C040#FFFFFF#000000##000000
##A6C0401.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#C9B54A
Tritanopia (blue-blind)
#AFB6A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6c040;
/* rgb */ color: rgb(166, 192, 64);
/* oklch */ color: oklch(76.4% 0.154 120.1);
Tailwind
colors: {
  custom: {
    50: '#c3d37c',
    500: '#a6c040',
    950: '#000000',
  },
}
SCSS
$custom: #a6c040;
$custom-light: #c3d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c040",
  "rgb": {
    "r": 166,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 72.188,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76389,
    "c": 0.15411,
    "h": 120.1
  },
  "luminance": 0.46176
}

Semantic roles & 50–950 ramp

primary
#A6C040
secondary
#9D91CB
accent
#4EDA6A
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A6C040

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

Preview Lab → · Contrast checker → · Palette generator →

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