#A6D54F#A6D54F

#A6D54F is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.4% C 0.169 H 126.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#A6D54F
RGBrgb(166, 213, 79)
HSLhsl(81, 61%, 57%)
HSVhsv(81, 63%, 84%)
CMYKcmyk(22.1%, 0%, 62.9%, 16.5%)
CIE-LABlab(79.76, -35.18, 59.35)
CIE-LCHlch(79.76, 68.99, 120.66°)
OKLaboklab(81.35% -0.1003 0.1362)
OKLCHoklch(81.35% 0.169 126.4)
XYZxyz(40.9315, 56.2594, 16.0983)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D54F #7E4FD5
analogous
#D5C14F #A6D54F #63D54F
triadic
#A6D54F #4FA6D5 #D54FA6
tetradic
#A6D54F #4FD5C1 #7E4FD5 #D54F63
square
#A6D54F #4FD5C1 #7E4FD5 #D54F63
split-complementary
#A6D54F #4F63D5 #C14FD5
monochromatic
#648921 #89BA2C #A6D54F #BFE180 #D8EDB2

Accessibility & contrast

On white

1.71
#A6D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#A6D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D54F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D54F#FFFFFF#000000##000000
##A6D54F1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83E
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#ACCCB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a6d54f;
/* rgb */ color: rgb(166, 213, 79);
/* oklch */ color: oklch(81.4% 0.169 126.4);
Tailwind
colors: {
  custom: {
    50: '#c4e286',
    500: '#a6d54f',
    950: '#000000',
  },
}
SCSS
$custom: #a6d54f;
$custom-light: #c4e286;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d54f",
  "rgb": {
    "r": 166,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 81.045,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81351,
    "c": 0.16908,
    "h": 126.4
  },
  "luminance": 0.5626
}

Semantic roles & 50–950 ramp

primary
#A6D54F
secondary
#57398F
accent
#43E57C
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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