#A6CA21#A6CA21

#A6CA21 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.5% C 0.182 H 122.0°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#A6CA21
RGBrgb(166, 202, 33)
HSLhsl(73, 72%, 46%)
HSVhsv(73, 84%, 79%)
CMYKcmyk(17.8%, 0%, 83.7%, 20.8%)
CIE-LABlab(76.35, -32.58, 71.39)
CIE-LCHlch(76.35, 78.47, 114.53°)
OKLaboklab(78.51% -0.0967 0.1546)
OKLCHoklch(78.51% 0.182 122)
XYZxyz(37.1216, 50.4578, 9.2222)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CA21 #4521CA
analogous
#CA9921 #A6CA21 #51CA21
triadic
#A6CA21 #21A6CA #CA21A6
tetradic
#A6CA21 #21CA99 #4521CA #CA2151
square
#A6CA21 #21CA99 #4521CA #CA2151
split-complementary
#A6CA21 #2151CA #9921CA
monochromatic
#506110 #7B9518 #A6CA21 #C0E147 #D2EA7C

Accessibility & contrast

On white

1.89
#A6CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#A6CA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CA21
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CA21#FFFFFF#000000##000000
##A6CA211.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BD00
Deuteranopia (green-blind)
#D2BC35
Tritanopia (blue-blind)
#AFBFAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a6ca21;
/* rgb */ color: rgb(166, 202, 33);
/* oklch */ color: oklch(78.5% 0.182 122.0);
Tailwind
colors: {
  custom: {
    50: '#c5da6f',
    500: '#a6ca21',
    950: '#000000',
  },
}
SCSS
$custom: #a6ca21;
$custom-light: #c5da6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ca21",
  "rgb": {
    "r": 166,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 72.781,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78506,
    "c": 0.18235,
    "h": 122
  },
  "luminance": 0.50458
}

Semantic roles & 50–950 ramp

primary
#A6CA21
secondary
#33246C
accent
#39EF60
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131408
muted
#83837D

Preview Lab

Preview with #A6CA21

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

Preview Lab → · Contrast checker → · Palette generator →

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