#A5CB51#A5CB51

#A5CB51 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.0% C 0.155 H 124.5°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#A5CB51
RGBrgb(165, 203, 81)
HSLhsl(79, 54%, 56%)
HSVhsv(79, 60%, 80%)
CMYKcmyk(18.7%, 0%, 60.1%, 20.4%)
CIE-LABlab(76.86, -30.78, 55.31)
CIE-LCHlch(76.86, 63.30, 119.09°)
OKLaboklab(79% -0.0878 0.1279)
OKLCHoklch(79% 0.155 124.5)
XYZxyz(38.3584, 51.3050, 15.6650)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CB51 #7751CB
analogous
#CBB451 #A5CB51 #68CB51
triadic
#A5CB51 #51A5CB #CB51A5
tetradic
#A5CB51 #51CBB4 #7751CB #CB5168
square
#A5CB51 #51CBB4 #7751CB #CB5168
split-complementary
#A5CB51 #5168CB #B451CB
monochromatic
#617C25 #86AC33 #A5CB51 #BDD980 #D6E7AF

Accessibility & contrast

On white

1.86
#A5CB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#A5CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CB51
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CB51#FFFFFF#000000##000000
##A5CB511.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#D0BD59
Tritanopia (blue-blind)
#ACC2B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a5cb51;
/* rgb */ color: rgb(165, 203, 81);
/* oklch */ color: oklch(79.0% 0.155 124.5);
Tailwind
colors: {
  custom: {
    50: '#c2db86',
    500: '#a5cb51',
    950: '#000000',
  },
}
SCSS
$custom: #a5cb51;
$custom-light: #c2db86;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cb51",
  "rgb": {
    "r": 165,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 78.689,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78999,
    "c": 0.1551,
    "h": 124.5
  },
  "luminance": 0.51305
}

Semantic roles & 50–950 ramp

primary
#A5CB51
secondary
#523C84
accent
#4ADD78
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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