#A6C842#A6C842

#A6C842 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.2% C 0.162 H 122.5°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#A6C842
RGBrgb(166, 200, 66)
HSLhsl(75, 55%, 52%)
HSVhsv(75, 67%, 78%)
CMYKcmyk(17%, 0%, 67%, 21.6%)
CIE-LABlab(75.95, -30.07, 60.57)
CIE-LCHlch(75.95, 67.62, 116.40°)
OKLaboklab(78.24% -0.0873 0.137)
OKLCHoklch(78.24% 0.162 122.5)
XYZxyz(37.3640, 49.8088, 12.7988)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C842 #6442C8
analogous
#C8A742 #A6C842 #63C842
triadic
#A6C842 #42A6C8 #C842A6
tetradic
#A6C842 #42C8A7 #6442C8 #C84263
square
#A6C842 #42C8A7 #6442C8 #C84263
split-complementary
#A6C842 #4263C8 #A742C8
monochromatic
#5B6F20 #829F2E #A6C842 #BCD671 #D3E4A1

Accessibility & contrast

On white

1.92
#A6C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#A6C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C842
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C842#FFFFFF#000000##000000
##A6C8421.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#AEBEAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a6c842;
/* rgb */ color: rgb(166, 200, 66);
/* oklch */ color: oklch(78.2% 0.162 122.5);
Tailwind
colors: {
  custom: {
    50: '#c4d87d',
    500: '#a6c842',
    950: '#000000',
  },
}
SCSS
$custom: #a6c842;
$custom-light: #c4d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c842",
  "rgb": {
    "r": 166,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 75.224,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7824,
    "c": 0.16241,
    "h": 122.5
  },
  "luminance": 0.49809
}

Semantic roles & 50–950 ramp

primary
#A6C842
secondary
#A496D0
accent
#4ADE6F
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A6C842

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

Preview Lab → · Contrast checker → · Palette generator →

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