#A6D04F#A6D04F

#A6D04F is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.2% C 0.163 H 125.2°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#A6D04F
RGBrgb(166, 208, 79)
HSLhsl(80, 58%, 56%)
HSVhsv(80, 62%, 82%)
CMYKcmyk(20.2%, 0%, 62%, 18.4%)
CIE-LABlab(78.33, -32.88, 57.80)
CIE-LCHlch(78.33, 66.50, 119.63°)
OKLaboklab(80.2% -0.0939 0.1329)
OKLCHoklch(80.2% 0.163 125.2)
XYZxyz(39.6932, 53.7828, 15.6856)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D04F #794FD0
analogous
#D0BA4F #A6D04F #66D04F
triadic
#A6D04F #4FA6D0 #D04FA6
tetradic
#A6D04F #4FD0BA #794FD0 #D04F66
square
#A6D04F #4FD0BA #794FD0 #D04F66
split-complementary
#A6D04F #4F66D0 #BA4FD0
monochromatic
#638223 #88B230 #A6D04F #BEDD7F #D7EAB0

Accessibility & contrast

On white

1.79
#A6D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#A6D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D04F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D04F#FFFFFF#000000##000000
##A6D04F1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33F
Deuteranopia (green-blind)
#D5C158
Tritanopia (blue-blind)
#ADC7B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a6d04f;
/* rgb */ color: rgb(166, 208, 79);
/* oklch */ color: oklch(80.2% 0.163 125.2);
Tailwind
colors: {
  custom: {
    50: '#c3de86',
    500: '#a6d04f',
    950: '#000000',
  },
}
SCSS
$custom: #a6d04f;
$custom-light: #c3de86;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d04f",
  "rgb": {
    "r": 166,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 79.535,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80198,
    "c": 0.1627,
    "h": 125.2
  },
  "luminance": 0.53783
}

Semantic roles & 50–950 ramp

primary
#A6D04F
secondary
#543A89
accent
#47E179
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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