#A5CD52#A5CD52

#A5CD52 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.5% C 0.157 H 125.1°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#A5CD52
RGBrgb(165, 205, 82)
HSLhsl(80, 55%, 56%)
HSVhsv(80, 60%, 80%)
CMYKcmyk(19.5%, 0%, 60%, 19.6%)
CIE-LABlab(77.44, -31.63, 55.52)
CIE-LCHlch(77.44, 63.90, 119.67°)
OKLaboklab(79.47% -0.0901 0.1284)
OKLCHoklch(79.47% 0.157 125.1)
XYZxyz(38.8715, 52.2708, 16.0224)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CD52 #7A52CD
analogous
#CDB852 #A5CD52 #68CD52
triadic
#A5CD52 #52A5CD #CD52A5
tetradic
#A5CD52 #52CDB8 #7A52CD #CD5268
square
#A5CD52 #52CDB8 #7A52CD #CD5268
split-complementary
#A5CD52 #5268CD #B852CD
monochromatic
#628025 #87AF33 #A5CD52 #BEDB81 #D6E8B1

Accessibility & contrast

On white

1.83
#A5CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#A5CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CD52
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CD52#FFFFFF#000000##000000
##A5CD521.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C144
Deuteranopia (green-blind)
#D2BF5B
Tritanopia (blue-blind)
#ACC4B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a5cd52;
/* rgb */ color: rgb(165, 205, 82);
/* oklch */ color: oklch(79.5% 0.157 125.1);
Tailwind
colors: {
  custom: {
    50: '#c2dc87',
    500: '#a5cd52',
    950: '#000000',
  },
}
SCSS
$custom: #a5cd52;
$custom-light: #c2dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cd52",
  "rgb": {
    "r": 165,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 79.512,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79469,
    "c": 0.15686,
    "h": 125.1
  },
  "luminance": 0.52271
}

Semantic roles & 50–950 ramp

primary
#A5CD52
secondary
#543C87
accent
#49DE7A
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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