#A6C242#A6C242

#A6C242 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.9% C 0.155 H 120.8°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#A6C242
RGBrgb(166, 194, 66)
HSLhsl(73, 51%, 51%)
HSVhsv(73, 66%, 76%)
CMYKcmyk(14.4%, 0%, 66%, 23.9%)
CIE-LABlab(74.24, -27.21, 58.79)
CIE-LCHlch(74.24, 64.79, 114.84°)
OKLaboklab(76.86% -0.0794 0.1332)
OKLCHoklch(76.86% 0.155 120.8)
XYZxyz(36.0016, 47.0840, 12.3447)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C242 #5E42C2
analogous
#C29E42 #A6C242 #66C242
triadic
#A6C242 #42A6C2 #C242A6
tetradic
#A6C242 #42C29E #5E42C2 #C24266
square
#A6C242 #42C29E #5E42C2 #C24266
split-complementary
#A6C242 #4266C2 #9E42C2
monochromatic
#596822 #809631 #A6C242 #BCD170 #D2E09F

Accessibility & contrast

On white

2.02
#A6C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#A6C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C242
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C242#FFFFFF#000000##000000
##A6C2421.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#AFB8A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a6c242;
/* rgb */ color: rgb(166, 194, 66);
/* oklch */ color: oklch(76.9% 0.155 120.8);
Tailwind
colors: {
  custom: {
    50: '#c3d47d',
    500: '#a6c242',
    950: '#000000',
  },
}
SCSS
$custom: #a6c242;
$custom-light: #c3d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c242",
  "rgb": {
    "r": 166,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 73.125,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76863,
    "c": 0.15509,
    "h": 120.8
  },
  "luminance": 0.47084
}

Semantic roles & 50–950 ramp

primary
#A6C242
secondary
#A094CC
accent
#4DDB6C
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A6C242

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

Preview Lab → · Contrast checker → · Palette generator →

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