#A5C951#A5C951

#A5C951 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.5% C 0.153 H 124.0°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#A5C951
RGBrgb(165, 201, 81)
HSLhsl(78, 53%, 55%)
HSVhsv(78, 60%, 79%)
CMYKcmyk(17.9%, 0%, 59.7%, 21.2%)
CIE-LABlab(76.29, -29.83, 54.68)
CIE-LCHlch(76.29, 62.29, 118.62°)
OKLaboklab(78.54% -0.0852 0.1265)
OKLCHoklch(78.54% 0.153 124)
XYZxyz(37.8891, 50.3664, 15.5086)
Luminance0.5037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C951 #7551C9
analogous
#C9B151 #A5C951 #69C951
triadic
#A5C951 #51A5C9 #C951A5
tetradic
#A5C951 #51C9B1 #7551C9 #C95169
square
#A5C951 #51C9B1 #7551C9 #C95169
split-complementary
#A5C951 #5169C9 #B151C9
monochromatic
#617A26 #86A934 #A5C951 #BDD780 #D5E6AE

Accessibility & contrast

On white

1.90
#A5C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#A5C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C951
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C951#FFFFFF#000000##000000
##A5C9511.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD44
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#ACC0AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a5c951;
/* rgb */ color: rgb(165, 201, 81);
/* oklch */ color: oklch(78.5% 0.153 124.0);
Tailwind
colors: {
  custom: {
    50: '#c2d986',
    500: '#a5c951',
    950: '#000000',
  },
}
SCSS
$custom: #a5c951;
$custom-light: #c2d986;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c951",
  "rgb": {
    "r": 165,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 78,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78539,
    "c": 0.15252,
    "h": 124
  },
  "luminance": 0.50367
}

Semantic roles & 50–950 ramp

primary
#A5C951
secondary
#513C82
accent
#4CDC77
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13140B
muted
#82837E

Preview Lab

Preview with #A5C951

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

Preview Lab → · Contrast checker → · Palette generator →

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