#A6CA28#A6CA28

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

Color values

HEX#A6CA28
RGBrgb(166, 202, 40)
HSLhsl(73, 67%, 47%)
HSVhsv(73, 80%, 79%)
CMYKcmyk(17.8%, 0%, 80.2%, 20.8%)
CIE-LABlab(76.38, -32.33, 69.66)
CIE-LCHlch(76.38, 76.80, 114.90°)
OKLaboklab(78.54% -0.0956 0.152)
OKLCHoklch(78.54% 0.18 122.2)
XYZxyz(37.2300, 50.5012, 9.7934)
Luminance0.5050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CA28 #4C28CA
analogous
#CA9D28 #A6CA28 #55CA28
triadic
#A6CA28 #28A6CA #CA28A6
tetradic
#A6CA28 #28CA9D #4C28CA #CA2855
square
#A6CA28 #28CA9D #4C28CA #CA2855
split-complementary
#A6CA28 #2855CA #9D28CA
monochromatic
#526414 #7C971E #A6CA28 #BEDD52 #D1E785

Accessibility & contrast

On white

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

On black

11.10
#A6CA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CA28
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CA28#FFFFFF#000000##000000
##A6CA281.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D2BC39
Tritanopia (blue-blind)
#AFBFAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a6ca28;
/* rgb */ color: rgb(166, 202, 40);
/* oklch */ color: oklch(78.5% 0.180 122.2);
Tailwind
colors: {
  custom: {
    50: '#c5da71',
    500: '#a6ca28',
    950: '#000000',
  },
}
SCSS
$custom: #a6ca28;
$custom-light: #c5da71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ca28",
  "rgb": {
    "r": 166,
    "g": 202,
    "b": 40
  },
  "hsl": {
    "h": 73.333,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78536,
    "c": 0.17956,
    "h": 122.2
  },
  "luminance": 0.50501
}

Semantic roles & 50–950 ramp

primary
#A6CA28
secondary
#38286E
accent
#3EEA64
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131409
muted
#83837D

Preview Lab

Preview with #A6CA28

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

Preview Lab → · Contrast checker → · Palette generator →

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