#A6C02F#A6C02F

#A6C02F 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#A6C02F
RGBrgb(166, 192, 47)
HSLhsl(71, 61%, 47%)
HSVhsv(71, 76%, 75%)
CMYKcmyk(13.5%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.55, -27.32, 65.01)
CIE-LCHlch(73.55, 70.52, 112.79°)
OKLaboklab(76.27% -0.0813 0.1433)
OKLCHoklch(76.27% 0.165 119.6)
XYZxyz(35.0893, 46.0117, 9.7214)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C02F #492FC0
analogous
#C0922F #A6C02F #5DC02F
triadic
#A6C02F #2FA6C0 #C02FA6
tetradic
#A6C02F #2FC092 #492FC0 #C02F5D
square
#A6C02F #2FC092 #492FC0 #C02F5D
split-complementary
#A6C02F #2F5DC0 #922FC0
monochromatic
#515E17 #7B8F23 #A6C02F #BFD656 #D2E288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C02F#FFFFFF#000000##000000
##A6C02F1.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)
#CCB50A
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#B0B6A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6c02f;
/* rgb */ color: rgb(166, 192, 47);
/* oklch */ color: oklch(76.3% 0.165 119.6);
Tailwind
colors: {
  custom: {
    50: '#c4d373',
    500: '#a6c02f',
    950: '#000000',
  },
}
SCSS
$custom: #a6c02f;
$custom-light: #c4d373;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c02f",
  "rgb": {
    "r": 166,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 70.759,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76269,
    "c": 0.16478,
    "h": 119.6
  },
  "luminance": 0.46012
}

Semantic roles & 50–950 ramp

primary
#A6C02F
secondary
#8D7FCB
accent
#44E461
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A6C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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