#A6CC34#A6CC34

#A6CC34 is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.1% C 0.176 H 123.0°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#A6CC34
RGBrgb(166, 204, 52)
HSLhsl(75, 60%, 50%)
HSVhsv(75, 75%, 80%)
CMYKcmyk(18.6%, 0%, 74.5%, 20%)
CIE-LABlab(77.01, -32.74, 66.65)
CIE-LCHlch(77.01, 74.26, 116.16°)
OKLaboklab(79.06% -0.0958 0.1476)
OKLCHoklch(79.06% 0.176 123)
XYZxyz(37.9391, 51.5405, 11.1977)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CC34 #5A34CC
analogous
#CCA634 #A6CC34 #5ACC34
triadic
#A6CC34 #34A6CC #CC34A6
tetradic
#A6CC34 #34CCA6 #5A34CC #CC345A
square
#A6CC34 #34CCA6 #5A34CC #CC345A
split-complementary
#A6CC34 #345ACC #A634CC
monochromatic
#576B1B #7F9C27 #A6CC34 #BBD865 #D1E596

Accessibility & contrast

On white

1.86
#A6CC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#A6CC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CC34
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CC34#FFFFFF#000000##000000
##A6CC341.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF11
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#AFC2AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a6cc34;
/* rgb */ color: rgb(166, 204, 52);
/* oklch */ color: oklch(79.1% 0.176 123.0);
Tailwind
colors: {
  custom: {
    50: '#c4db77',
    500: '#a6cc34',
    950: '#000000',
  },
}
SCSS
$custom: #a6cc34;
$custom-light: #c4db77;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cc34",
  "rgb": {
    "r": 166,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 75,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79063,
    "c": 0.17597,
    "h": 123
  },
  "luminance": 0.51541
}

Semantic roles & 50–950 ramp

primary
#A6CC34
secondary
#413074
accent
#45E36C
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A6CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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