#A8CC3A#A8CC3A

#A8CC3A is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.2% C 0.172 H 122.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#A8CC3A
RGBrgb(168, 204, 58)
HSLhsl(75, 59%, 51%)
HSVhsv(75, 72%, 80%)
CMYKcmyk(17.6%, 0%, 71.6%, 20%)
CIE-LABlab(77.17, -31.63, 64.82)
CIE-LCHlch(77.17, 72.12, 116.01°)
OKLaboklab(79.24% -0.0924 0.1446)
OKLCHoklch(79.24% 0.172 122.6)
XYZxyz(38.5055, 51.8159, 11.9751)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CC3A #5E3ACC
analogous
#CCA73A #A8CC3A #5FCC3A
triadic
#A8CC3A #3AA8CC #CC3AA8
tetradic
#A8CC3A #3ACCA7 #5E3ACC #CC3A5F
square
#A8CC3A #3ACCA7 #5E3ACC #CC3A5F
split-complementary
#A8CC3A #3A5FCC #A73ACC
monochromatic
#5B6F1D #82A029 #A8CC3A #BDD96B #D3E59B

Accessibility & contrast

On white

1.85
#A8CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#A8CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CC3A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CC3A#FFFFFF#000000##000000
##A8CC3A1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1F
Deuteranopia (green-blind)
#D3BE47
Tritanopia (blue-blind)
#B1C2B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a8cc3a;
/* rgb */ color: rgb(168, 204, 58);
/* oklch */ color: oklch(79.2% 0.172 122.6);
Tailwind
colors: {
  custom: {
    50: '#c5db7a',
    500: '#a8cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #a8cc3a;
$custom-light: #c5db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cc3a",
  "rgb": {
    "r": 168,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 74.795,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79241,
    "c": 0.17164,
    "h": 122.6
  },
  "luminance": 0.51816
}

Semantic roles & 50–950 ramp

primary
#A8CC3A
secondary
#433278
accent
#46E26C
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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