#A6C328#A6C328

#A6C328 is a light, vivid yellow-green. Relative luminance 0.473; OKLCH L 76.9% C 0.172 H 120.3°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#A6C328
RGBrgb(166, 195, 40)
HSLhsl(71, 66%, 46%)
HSVhsv(71, 79%, 76%)
CMYKcmyk(14.9%, 0%, 79.5%, 23.5%)
CIE-LABlab(74.38, -29.05, 67.87)
CIE-LCHlch(74.38, 73.83, 113.17°)
OKLaboklab(76.92% -0.0866 0.1482)
OKLCHoklch(76.92% 0.172 120.3)
XYZxyz(35.6247, 47.2905, 9.2583)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C328 #4528C3
analogous
#C39228 #A6C328 #58C328
triadic
#A6C328 #28A6C3 #C328A6
tetradic
#A6C328 #28C392 #4528C3 #C32858
square
#A6C328 #28C392 #4528C3 #C32858
split-complementary
#A6C328 #2858C3 #9228C3
monochromatic
#505D13 #7B901E #A6C328 #C0DB4E #D2E580

Accessibility & contrast

On white

2.01
#A6C328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#A6C328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C328
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C328#FFFFFF#000000##000000
##A6C3281.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#B0B8A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a6c328;
/* rgb */ color: rgb(166, 195, 40);
/* oklch */ color: oklch(76.9% 0.172 120.3);
Tailwind
colors: {
  custom: {
    50: '#c4d570',
    500: '#a6c328',
    950: '#000000',
  },
}
SCSS
$custom: #a6c328;
$custom-light: #c4d570;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c328",
  "rgb": {
    "r": 166,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 71.226,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76921,
    "c": 0.17165,
    "h": 120.3
  },
  "luminance": 0.4729
}

Semantic roles & 50–950 ramp

primary
#A6C328
secondary
#8979CE
accent
#3FE95F
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A6C328

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

Preview Lab → · Contrast checker → · Palette generator →

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