#A6C538#A6C538

#A6C538 is a light, vivid yellow-green. Relative luminance 0.483; OKLCH L 77.5% C 0.165 H 121.3°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#A6C538
RGBrgb(166, 197, 56)
HSLhsl(73, 56%, 50%)
HSVhsv(73, 72%, 77%)
CMYKcmyk(15.7%, 0%, 71.6%, 22.7%)
CIE-LABlab(75.03, -29.25, 63.38)
CIE-LCHlch(75.03, 69.80, 114.77°)
OKLaboklab(77.48% -0.0859 0.1414)
OKLCHoklch(77.48% 0.165 121.3)
XYZxyz(36.4065, 48.3250, 11.1503)
Luminance0.4833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C538 #5738C5
analogous
#C59D38 #A6C538 #60C538
triadic
#A6C538 #38A6C5 #C538A6
tetradic
#A6C538 #38C59D #5738C5 #C53860
square
#A6C538 #38C59D #5738C5 #C53860
split-complementary
#A6C538 #3860C5 #9D38C5
monochromatic
#56661D #7E952A #A6C538 #BCD467 #D1E196

Accessibility & contrast

On white

1.97
#A6C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#A6C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C538
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C538#FFFFFF#000000##000000
##A6C5381.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91E
Deuteranopia (green-blind)
#CDB944
Tritanopia (blue-blind)
#AFBBAA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a6c538;
/* rgb */ color: rgb(166, 197, 56);
/* oklch */ color: oklch(77.5% 0.165 121.3);
Tailwind
colors: {
  custom: {
    50: '#c4d678',
    500: '#a6c538',
    950: '#000000',
  },
}
SCSS
$custom: #a6c538;
$custom-light: #c4d678;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c538",
  "rgb": {
    "r": 166,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 73.191,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77475,
    "c": 0.16541,
    "h": 121.3
  },
  "luminance": 0.48325
}

Semantic roles & 50–950 ramp

primary
#A6C538
secondary
#9A8CCD
accent
#49DF6A
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C538

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

Preview Lab → · Contrast checker → · Palette generator →

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