#A6C940#A6C940

#A6C940 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 78.5% C 0.165 H 122.7°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#A6C940
RGBrgb(166, 201, 64)
HSLhsl(75, 56%, 52%)
HSVhsv(75, 68%, 79%)
CMYKcmyk(17.4%, 0%, 68.2%, 21.2%)
CIE-LABlab(76.22, -30.67, 61.62)
CIE-LCHlch(76.22, 68.83, 116.46°)
OKLaboklab(78.46% -0.0891 0.1389)
OKLCHoklch(78.46% 0.165 122.7)
XYZxyz(37.5384, 50.2503, 12.5712)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C940 #6340C9
analogous
#C9A740 #A6C940 #62C940
triadic
#A6C940 #40A6C9 #C940A6
tetradic
#A6C940 #40C9A7 #6340C9 #C94062
square
#A6C940 #40C9A7 #6340C9 #C94062
split-complementary
#A6C940 #4062C9 #A740C9
monochromatic
#5B6F1F #829F2D #A6C940 #BCD670 #D2E49F

Accessibility & contrast

On white

1.90
#A6C940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#A6C940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C940
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C940#FFFFFF#000000##000000
##A6C9401.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#AEBFAE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a6c940;
/* rgb */ color: rgb(166, 201, 64);
/* oklch */ color: oklch(78.5% 0.165 122.7);
Tailwind
colors: {
  custom: {
    50: '#c4d97c',
    500: '#a6c940',
    950: '#000000',
  },
}
SCSS
$custom: #a6c940;
$custom-light: #c4d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c940",
  "rgb": {
    "r": 166,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 75.328,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78455,
    "c": 0.16502,
    "h": 122.7
  },
  "luminance": 0.5025
}

Semantic roles & 50–950 ramp

primary
#A6C940
secondary
#463578
accent
#49DF6F
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13140A
muted
#82837D

Preview Lab

Preview with #A6C940

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

Preview Lab → · Contrast checker → · Palette generator →

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