#A8CC40#A8CC40

#A8CC40 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.3% C 0.168 H 122.8°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#A8CC40
RGBrgb(168, 204, 64)
HSLhsl(75, 58%, 53%)
HSVhsv(75, 69%, 80%)
CMYKcmyk(17.6%, 0%, 68.6%, 20%)
CIE-LABlab(77.21, -31.28, 62.66)
CIE-LCHlch(77.21, 70.04, 116.53°)
OKLaboklab(79.29% -0.0909 0.141)
OKLCHoklch(79.29% 0.168 122.8)
XYZxyz(38.6672, 51.8806, 12.8264)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CC40 #6440CC
analogous
#CCAA40 #A8CC40 #62CC40
triadic
#A8CC40 #40A8CC #CC40A8
tetradic
#A8CC40 #40CCAA #6440CC #CC4062
square
#A8CC40 #40CCAA #6440CC #CC4062
split-complementary
#A8CC40 #4062CC #AA40CC
monochromatic
#5D731F #84A32C #A8CC40 #BED970 #D4E6A1

Accessibility & contrast

On white

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

On black

11.38
#A8CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CC40
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CC40#FFFFFF#000000##000000
##A8CC401.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#B0C2B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a8cc40;
/* rgb */ color: rgb(168, 204, 64);
/* oklch */ color: oklch(79.3% 0.168 122.8);
Tailwind
colors: {
  custom: {
    50: '#c5db7d',
    500: '#a8cc40',
    950: '#000000',
  },
}
SCSS
$custom: #a8cc40;
$custom-light: #c5db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cc40",
  "rgb": {
    "r": 168,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 75.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79285,
    "c": 0.16781,
    "h": 122.8
  },
  "luminance": 0.51881
}

Semantic roles & 50–950 ramp

primary
#A8CC40
secondary
#47347C
accent
#47E16E
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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