#A5CC52#A5CC52

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

Color values

HEX#A5CC52
RGBrgb(165, 204, 82)
HSLhsl(79, 54%, 56%)
HSVhsv(79, 60%, 80%)
CMYKcmyk(19.1%, 0%, 59.8%, 20%)
CIE-LABlab(77.16, -31.16, 55.20)
CIE-LCHlch(77.16, 63.39, 119.45°)
OKLaboklab(79.24% -0.0888 0.1277)
OKLCHoklch(79.24% 0.156 124.8)
XYZxyz(38.6331, 51.7939, 15.9429)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CC52 #7952CC
analogous
#CCB652 #A5CC52 #68CC52
triadic
#A5CC52 #52A5CC #CC52A5
tetradic
#A5CC52 #52CCB6 #7952CC #CC5268
square
#A5CC52 #52CCB6 #7952CC #CC5268
split-complementary
#A5CC52 #5268CC #B652CC
monochromatic
#627E25 #86AE33 #A5CC52 #BEDA81 #D6E8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a5cc52;
/* rgb */ color: rgb(165, 204, 82);
/* oklch */ color: oklch(79.2% 0.156 124.8);
Tailwind
colors: {
  custom: {
    50: '#c2db87',
    500: '#a5cc52',
    950: '#000000',
  },
}
SCSS
$custom: #a5cc52;
$custom-light: #c2db87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cc52",
  "rgb": {
    "r": 165,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 79.18,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79239,
    "c": 0.15557,
    "h": 124.8
  },
  "luminance": 0.51794
}

Semantic roles & 50–950 ramp

primary
#A5CC52
secondary
#543C86
accent
#4ADE79
background
#FDFEFC
surface
#F9FBF3
border
#D2D4CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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