#A6C12A#A6C12A

#A6C12A is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.5% C 0.168 H 119.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#A6C12A
RGBrgb(166, 193, 42)
HSLhsl(71, 64%, 46%)
HSVhsv(71, 78%, 76%)
CMYKcmyk(14%, 0%, 78.2%, 24.3%)
CIE-LABlab(73.81, -28.01, 66.79)
CIE-LCHlch(73.81, 72.43, 112.75°)
OKLaboklab(76.47% -0.0836 0.1462)
OKLCHoklch(76.47% 0.168 119.8)
XYZxyz(35.2145, 46.4143, 9.2938)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C12A #452AC1
analogous
#C1902A #A6C12A #5BC12A
triadic
#A6C12A #2AA6C1 #C12AA6
tetradic
#A6C12A #2AC190 #452AC1 #C12A5B
square
#A6C12A #2AC190 #452AC1 #C12A5B
split-complementary
#A6C12A #2A5BC1 #902AC1
monochromatic
#505C14 #7B8F1F #A6C12A #C0D94F #D2E482

Accessibility & contrast

On white

2.04
#A6C12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#A6C12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C12A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C12A#FFFFFF#000000##000000
##A6C12A1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CAB639
Tritanopia (blue-blind)
#B0B6A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6c12a;
/* rgb */ color: rgb(166, 193, 42);
/* oklch */ color: oklch(76.5% 0.168 119.8);
Tailwind
colors: {
  custom: {
    50: '#c4d371',
    500: '#a6c12a',
    950: '#000000',
  },
}
SCSS
$custom: #a6c12a;
$custom-light: #c4d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c12a",
  "rgb": {
    "r": 166,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 70.728,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76471,
    "c": 0.16847,
    "h": 119.8
  },
  "luminance": 0.46414
}

Semantic roles & 50–950 ramp

primary
#A6C12A
secondary
#897ACD
accent
#41E75E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6C12A

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

Preview Lab → · Contrast checker → · Palette generator →

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