#A6C042#A6C042

#A6C042 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.4% C 0.153 H 120.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#A6C042
RGBrgb(166, 192, 66)
HSLhsl(72, 50%, 51%)
HSVhsv(72, 66%, 75%)
CMYKcmyk(13.5%, 0%, 65.6%, 24.7%)
CIE-LABlab(73.67, -26.25, 58.20)
CIE-LCHlch(73.67, 63.85, 114.28°)
OKLaboklab(76.41% -0.0767 0.132)
OKLCHoklch(76.41% 0.153 120.2)
XYZxyz(35.5594, 46.1997, 12.1973)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C042 #5C42C0
analogous
#C09B42 #A6C042 #67C042
triadic
#A6C042 #42A6C0 #C042A6
tetradic
#A6C042 #42C09B #5C42C0 #C04267
square
#A6C042 #42C09B #5C42C0 #C04267
split-complementary
#A6C042 #4267C0 #9B42C0
monochromatic
#586622 #7F9431 #A6C042 #BCCF70 #D1DF9E

Accessibility & contrast

On white

2.05
#A6C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#A6C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C042
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C042#FFFFFF#000000##000000
##A6C0421.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#AFB6A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a6c042;
/* rgb */ color: rgb(166, 192, 66);
/* oklch */ color: oklch(76.4% 0.153 120.2);
Tailwind
colors: {
  custom: {
    50: '#c3d37d',
    500: '#a6c042',
    950: '#000000',
  },
}
SCSS
$custom: #a6c042;
$custom-light: #c3d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c042",
  "rgb": {
    "r": 166,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 72.381,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76406,
    "c": 0.15265,
    "h": 120.2
  },
  "luminance": 0.462
}

Semantic roles & 50–950 ramp

primary
#A6C042
secondary
#9E93CB
accent
#4EDA6B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A6C042

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

Preview Lab → · Contrast checker → · Palette generator →

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