#A5CE51#A5CE51

#A5CE51 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.7% C 0.159 H 125.2°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#A5CE51
RGBrgb(165, 206, 81)
HSLhsl(80, 56%, 56%)
HSVhsv(80, 61%, 81%)
CMYKcmyk(19.9%, 0%, 60.7%, 19.2%)
CIE-LABlab(77.72, -32.18, 56.26)
CIE-LCHlch(77.72, 64.81, 119.77°)
OKLaboklab(79.69% -0.0917 0.1299)
OKLCHoklch(79.69% 0.159 125.2)
XYZxyz(39.0737, 52.7356, 15.9034)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CE51 #7A51CE
analogous
#CEB951 #A5CE51 #67CE51
triadic
#A5CE51 #51A5CE #CE51A5
tetradic
#A5CE51 #51CEB9 #7A51CE #CE5167
square
#A5CE51 #51CEB9 #7A51CE #CE5167
split-complementary
#A5CE51 #5167CE #B951CE
monochromatic
#628024 #87B032 #A5CE51 #BEDB81 #D6E9B1

Accessibility & contrast

On white

1.82
#A5CE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#A5CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CE51
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CE51#FFFFFF#000000##000000
##A5CE511.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C243
Deuteranopia (green-blind)
#D3C05A
Tritanopia (blue-blind)
#ACC5B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a5ce51;
/* rgb */ color: rgb(165, 206, 81);
/* oklch */ color: oklch(79.7% 0.159 125.2);
Tailwind
colors: {
  custom: {
    50: '#c2dd87',
    500: '#a5ce51',
    950: '#000000',
  },
}
SCSS
$custom: #a5ce51;
$custom-light: #c2dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ce51",
  "rgb": {
    "r": 165,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 79.68,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79689,
    "c": 0.15897,
    "h": 125.2
  },
  "luminance": 0.52736
}

Semantic roles & 50–950 ramp

primary
#A5CE51
secondary
#543B88
accent
#48DF7A
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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