#A5CD51#A5CD51

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

Color values

HEX#A5CD51
RGBrgb(165, 205, 81)
HSLhsl(79, 55%, 56%)
HSVhsv(79, 60%, 80%)
CMYKcmyk(19.5%, 0%, 60.5%, 19.6%)
CIE-LABlab(77.43, -31.71, 55.94)
CIE-LCHlch(77.43, 64.31, 119.55°)
OKLaboklab(79.46% -0.0904 0.1292)
OKLCHoklch(79.46% 0.158 125)
XYZxyz(38.8337, 52.2557, 15.8234)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CD51 #7951CD
analogous
#CDB751 #A5CD51 #67CD51
triadic
#A5CD51 #51A5CD #CD51A5
tetradic
#A5CD51 #51CDB7 #7951CD #CD5167
square
#A5CD51 #51CDB7 #7951CD #CD5167
split-complementary
#A5CD51 #5167CD #B751CD
monochromatic
#627F25 #86AF32 #A5CD51 #BEDB81 #D6E8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5CD51#FFFFFF#000000##000000
##A5CD511.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)
#D7C143
Deuteranopia (green-blind)
#D2BF5A
Tritanopia (blue-blind)
#ACC4B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a5cd51;
/* rgb */ color: rgb(165, 205, 81);
/* oklch */ color: oklch(79.5% 0.158 125.0);
Tailwind
colors: {
  custom: {
    50: '#c2dc87',
    500: '#a5cd51',
    950: '#000000',
  },
}
SCSS
$custom: #a5cd51;
$custom-light: #c2dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cd51",
  "rgb": {
    "r": 165,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 79.355,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79459,
    "c": 0.15768,
    "h": 125
  },
  "luminance": 0.52256
}

Semantic roles & 50–950 ramp

primary
#A5CD51
secondary
#543B87
accent
#49DF79
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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