#A6C02B#A6C02B

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

Color values

HEX#A6C02B
RGBrgb(166, 192, 43)
HSLhsl(70, 63%, 46%)
HSVhsv(70, 78%, 75%)
CMYKcmyk(13.5%, 0%, 77.6%, 24.7%)
CIE-LABlab(73.53, -27.49, 66.24)
CIE-LCHlch(73.53, 71.72, 112.54°)
OKLaboklab(76.25% -0.0821 0.1452)
OKLCHoklch(76.25% 0.167 119.5)
XYZxyz(35.0123, 45.9809, 9.3158)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C02B #452BC0
analogous
#C08F2B #A6C02B #5BC02B
triadic
#A6C02B #2BA6C0 #C02BA6
tetradic
#A6C02B #2BC08F #452BC0 #C02B5B
square
#A6C02B #2BC08F #452BC0 #C02B5B
split-complementary
#A6C02B #2B5BC0 #8F2BC0
monochromatic
#505C15 #7B8E20 #A6C02B #C0D850 #D2E382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C02B#FFFFFF#000000##000000
##A6C02B1.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)
#CDB500
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#B0B5A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6c02b;
/* rgb */ color: rgb(166, 192, 43);
/* oklch */ color: oklch(76.2% 0.167 119.5);
Tailwind
colors: {
  custom: {
    50: '#c4d371',
    500: '#a6c02b',
    950: '#000000',
  },
}
SCSS
$custom: #a6c02b;
$custom-light: #c4d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c02b",
  "rgb": {
    "r": 166,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 70.47,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76246,
    "c": 0.16685,
    "h": 119.5
  },
  "luminance": 0.45981
}

Semantic roles & 50–950 ramp

primary
#A6C02B
secondary
#897BCC
accent
#41E65E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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