#A5CC51#A5CC51

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

Color values

HEX#A5CC51
RGBrgb(165, 204, 81)
HSLhsl(79, 55%, 56%)
HSVhsv(79, 60%, 80%)
CMYKcmyk(19.1%, 0%, 60.3%, 20%)
CIE-LABlab(77.15, -31.25, 55.63)
CIE-LCHlch(77.15, 63.80, 119.32°)
OKLaboklab(79.23% -0.0891 0.1285)
OKLCHoklch(79.23% 0.156 124.7)
XYZxyz(38.5953, 51.7788, 15.7440)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CC51 #7851CC
analogous
#CCB551 #A5CC51 #67CC51
triadic
#A5CC51 #51A5CC #CC51A5
tetradic
#A5CC51 #51CCB5 #7851CC #CC5167
square
#A5CC51 #51CCB5 #7851CC #CC5167
split-complementary
#A5CC51 #5167CC #B551CC
monochromatic
#627E25 #86AD33 #A5CC51 #BDDA80 #D6E8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5CC51#FFFFFF#000000##000000
##A5CC511.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)
#D7C043
Deuteranopia (green-blind)
#D1BE5A
Tritanopia (blue-blind)
#ACC3B2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a5cc51;
/* rgb */ color: rgb(165, 204, 81);
/* oklch */ color: oklch(79.2% 0.156 124.7);
Tailwind
colors: {
  custom: {
    50: '#c2db87',
    500: '#a5cc51',
    950: '#000000',
  },
}
SCSS
$custom: #a5cc51;
$custom-light: #c2db87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cc51",
  "rgb": {
    "r": 165,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 79.024,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79229,
    "c": 0.15639,
    "h": 124.7
  },
  "luminance": 0.51779
}

Semantic roles & 50–950 ramp

primary
#A5CC51
secondary
#533C86
accent
#4ADE79
background
#FDFEFC
surface
#F9FBF3
border
#D2D4CD
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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