#A6C02E#A6C02E

#A6C02E is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.3% C 0.165 H 119.6°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#A6C02E
RGBrgb(166, 192, 46)
HSLhsl(71, 61%, 47%)
HSVhsv(71, 76%, 75%)
CMYKcmyk(13.5%, 0%, 76%, 24.7%)
CIE-LABlab(73.55, -27.36, 65.33)
CIE-LCHlch(73.55, 70.83, 112.73°)
OKLaboklab(76.26% -0.0815 0.1438)
OKLCHoklch(76.26% 0.165 119.6)
XYZxyz(35.0694, 46.0037, 9.6164)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C02E #482EC0
analogous
#C0912E #A6C02E #5DC02E
triadic
#A6C02E #2EA6C0 #C02EA6
tetradic
#A6C02E #2EC091 #482EC0 #C02E5D
square
#A6C02E #2EC091 #482EC0 #C02E5D
split-complementary
#A6C02E #2E5DC0 #912EC0
monochromatic
#515D16 #7B8F22 #A6C02E #BFD655 #D2E286

Accessibility & contrast

On white

2.06
#A6C02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#A6C02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C02E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C02E#FFFFFF#000000##000000
##A6C02E1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB506
Deuteranopia (green-blind)
#CAB53C
Tritanopia (blue-blind)
#B0B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6c02e;
/* rgb */ color: rgb(166, 192, 46);
/* oklch */ color: oklch(76.3% 0.165 119.6);
Tailwind
colors: {
  custom: {
    50: '#c4d372',
    500: '#a6c02e',
    950: '#000000',
  },
}
SCSS
$custom: #a6c02e;
$custom-light: #c4d372;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c02e",
  "rgb": {
    "r": 166,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 70.685,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76263,
    "c": 0.16532,
    "h": 119.6
  },
  "luminance": 0.46004
}

Semantic roles & 50–950 ramp

primary
#A6C02E
secondary
#8C7ECC
accent
#43E460
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A6C02E

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

Preview Lab → · Contrast checker → · Palette generator →

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