#A6D671#A6D671

#A6D671 is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.0% C 0.140 H 129.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#A6D671
RGBrgb(166, 214, 113)
HSLhsl(89, 55%, 64%)
HSVhsv(89, 47%, 84%)
CMYKcmyk(22.4%, 0%, 47.2%, 16.1%)
CIE-LABlab(80.40, -32.41, 44.65)
CIE-LCHlch(80.40, 55.18, 125.98°)
OKLaboklab(81.98% -0.0898 0.1075)
OKLCHoklch(81.98% 0.14 129.9)
XYZxyz(42.7526, 57.3915, 24.4448)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D671 #A171D6
analogous
#D6D471 #A6D671 #74D671
triadic
#A6D671 #71A6D6 #D671A6
tetradic
#A6D671 #71D6D4 #A171D6 #D67174
square
#A6D671 #71D6D4 #A171D6 #D67174
split-complementary
#A6D671 #7174D6 #D471D6
monochromatic
#699F2E #88C842 #A6D671 #C4E4A0 #E2F1D0

Accessibility & contrast

On white

1.68
#A6D671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#A6D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D671
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D671#FFFFFF#000000##000000
##A6D6711.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA69
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#A9CEBE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a6d671;
/* rgb */ color: rgb(166, 214, 113);
/* oklch */ color: oklch(82.0% 0.140 129.9);
Tailwind
colors: {
  custom: {
    50: '#c2e29c',
    500: '#a6d671',
    950: '#000000',
  },
}
SCSS
$custom: #a6d671;
$custom-light: #c2e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d671",
  "rgb": {
    "r": 166,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 88.515,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8198,
    "c": 0.14006,
    "h": 129.9
  },
  "luminance": 0.57392
}

Semantic roles & 50–950 ramp

primary
#A6D671
secondary
#7348A3
accent
#23C36F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #A6D671

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

Preview Lab → · Contrast checker → · Palette generator →

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