#A6D23C#A6D23C

#A6D23C is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.5% C 0.178 H 124.7°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#A6D23C
RGBrgb(166, 210, 60)
HSLhsl(78, 63%, 53%)
HSVhsv(78, 71%, 82%)
CMYKcmyk(21%, 0%, 71.4%, 17.6%)
CIE-LABlab(78.77, -35.08, 65.64)
CIE-LCHlch(78.77, 74.42, 118.12°)
OKLaboklab(80.5% -0.1016 0.1467)
OKLCHoklch(80.5% 0.178 124.7)
XYZxyz(39.5884, 54.5260, 12.7130)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D23C #683CD2
analogous
#D2B33C #A6D23C #5BD23C
triadic
#A6D23C #3CA6D2 #D23CA6
tetradic
#A6D23C #3CD2B3 #683CD2 #D23C5B
square
#A6D23C #3CD2B3 #683CD2 #D23C5B
split-complementary
#A6D23C #3C5BD2 #B33CD2
monochromatic
#5D781C #83AA27 #A6D23C #BDDD6E #D3E99F

Accessibility & contrast

On white

1.76
#A6D23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#A6D23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D23C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D23C#FFFFFF#000000##000000
##A6D23C1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC421
Deuteranopia (green-blind)
#D8C249
Tritanopia (blue-blind)
#AEC8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a6d23c;
/* rgb */ color: rgb(166, 210, 60);
/* oklch */ color: oklch(80.5% 0.178 124.7);
Tailwind
colors: {
  custom: {
    50: '#c4e07b',
    500: '#a6d23c',
    950: '#000000',
  },
}
SCSS
$custom: #a6d23c;
$custom-light: #c4e07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d23c",
  "rgb": {
    "r": 166,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 77.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80503,
    "c": 0.17847,
    "h": 124.7
  },
  "luminance": 0.54526
}

Semantic roles & 50–950 ramp

primary
#A6D23C
secondary
#493280
accent
#42E672
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A6D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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