#A6C12B#A6C12B

#A6C12B 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#A6C12B
RGBrgb(166, 193, 43)
HSLhsl(71, 64%, 46%)
HSVhsv(71, 78%, 76%)
CMYKcmyk(14%, 0%, 77.7%, 24.3%)
CIE-LABlab(73.82, -27.97, 66.50)
CIE-LCHlch(73.82, 72.14, 112.81°)
OKLaboklab(76.48% -0.0834 0.1458)
OKLCHoklch(76.48% 0.168 119.8)
XYZxyz(35.2326, 46.4215, 9.3892)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C12B #462BC1
analogous
#C1912B #A6C12B #5BC12B
triadic
#A6C12B #2BA6C1 #C12BA6
tetradic
#A6C12B #2BC191 #462BC1 #C12B5B
square
#A6C12B #2BC191 #462BC1 #C12B5B
split-complementary
#A6C12B #2B5BC1 #912BC1
monochromatic
#505D15 #7B8F20 #A6C12B #C0D851 #D2E383

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C12B#FFFFFF#000000##000000
##A6C12B1.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)
#CAB63A
Tritanopia (blue-blind)
#B0B6A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6c12b;
/* rgb */ color: rgb(166, 193, 43);
/* oklch */ color: oklch(76.5% 0.168 119.8);
Tailwind
colors: {
  custom: {
    50: '#c4d371',
    500: '#a6c12b',
    950: '#000000',
  },
}
SCSS
$custom: #a6c12b;
$custom-light: #c4d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c12b",
  "rgb": {
    "r": 166,
    "g": 193,
    "b": 43
  },
  "hsl": {
    "h": 70.8,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76476,
    "c": 0.16798,
    "h": 119.8
  },
  "luminance": 0.46421
}

Semantic roles & 50–950 ramp

primary
#A6C12B
secondary
#8A7BCC
accent
#41E75F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6C12B

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

Preview Lab → · Contrast checker → · Palette generator →

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