#A6C02C#A6C02C

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

Color values

HEX#A6C02C
RGBrgb(166, 192, 44)
HSLhsl(71, 63%, 46%)
HSVhsv(71, 77%, 75%)
CMYKcmyk(13.5%, 0%, 77.1%, 24.7%)
CIE-LABlab(73.54, -27.45, 65.94)
CIE-LCHlch(73.54, 71.43, 112.60°)
OKLaboklab(76.25% -0.0819 0.1448)
OKLCHoklch(76.25% 0.166 119.5)
XYZxyz(35.0309, 45.9883, 9.4136)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C02C #462CC0
analogous
#C0902C #A6C02C #5CC02C
triadic
#A6C02C #2CA6C0 #C02CA6
tetradic
#A6C02C #2CC090 #462CC0 #C02C5C
square
#A6C02C #2CC090 #462CC0 #C02C5C
split-complementary
#A6C02C #2C5CC0 #902CC0
monochromatic
#505C15 #7B8E21 #A6C02C #C0D752 #D2E384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C02C#FFFFFF#000000##000000
##A6C02C1.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)
#CAB53A
Tritanopia (blue-blind)
#B0B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6c02c;
/* rgb */ color: rgb(166, 192, 44);
/* oklch */ color: oklch(76.3% 0.166 119.5);
Tailwind
colors: {
  custom: {
    50: '#c4d372',
    500: '#a6c02c',
    950: '#000000',
  },
}
SCSS
$custom: #a6c02c;
$custom-light: #c4d372;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c02c",
  "rgb": {
    "r": 166,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 70.541,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76252,
    "c": 0.16636,
    "h": 119.5
  },
  "luminance": 0.45988
}

Semantic roles & 50–950 ramp

primary
#A6C02C
secondary
#8A7CCC
accent
#42E65F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A6C02C

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

Preview Lab → · Contrast checker → · Palette generator →

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