#A6CD3B#A6CD3B

#A6CD3B is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.3% C 0.173 H 123.5°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#A6CD3B
RGBrgb(166, 205, 59)
HSLhsl(76, 59%, 52%)
HSVhsv(76, 71%, 80%)
CMYKcmyk(19%, 0%, 71.2%, 19.6%)
CIE-LABlab(77.33, -32.83, 64.58)
CIE-LCHlch(77.33, 72.44, 116.95°)
OKLaboklab(79.34% -0.0955 0.1443)
OKLCHoklch(79.34% 0.173 123.5)
XYZxyz(38.3470, 52.0852, 12.1700)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CD3B #623BCD
analogous
#CDAB3B #A6CD3B #5DCD3B
triadic
#A6CD3B #3BA6CD #CD3BA6
tetradic
#A6CD3B #3BCDAB #623BCD #CD3B5D
square
#A6CD3B #3BCDAB #623BCD #CD3B5D
split-complementary
#A6CD3B #3B5DCD #AB3BCD
monochromatic
#5A711D #81A229 #A6CD3B #BCD96C #D2E69D

Accessibility & contrast

On white

1.84
#A6CD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#A6CD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CD3B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CD3B#FFFFFF#000000##000000
##A6CD3B1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C021
Deuteranopia (green-blind)
#D4BF48
Tritanopia (blue-blind)
#AEC3B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a6cd3b;
/* rgb */ color: rgb(166, 205, 59);
/* oklch */ color: oklch(79.3% 0.173 123.5);
Tailwind
colors: {
  custom: {
    50: '#c4dc7a',
    500: '#a6cd3b',
    950: '#000000',
  },
}
SCSS
$custom: #a6cd3b;
$custom-light: #c4dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cd3b",
  "rgb": {
    "r": 166,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 76.027,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7934,
    "c": 0.17308,
    "h": 123.5
  },
  "luminance": 0.52085
}

Semantic roles & 50–950 ramp

primary
#A6CD3B
secondary
#45327A
accent
#45E36F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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