#A5CF51#A5CF51

#A5CF51 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.9% C 0.160 H 125.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#A5CF51
RGBrgb(165, 207, 81)
HSLhsl(80, 57%, 56%)
HSVhsv(80, 61%, 81%)
CMYKcmyk(20.3%, 0%, 60.9%, 18.8%)
CIE-LABlab(78.00, -32.65, 56.57)
CIE-LCHlch(78.00, 65.31, 119.99°)
OKLaboklab(79.92% -0.093 0.1305)
OKLCHoklch(79.92% 0.16 125.5)
XYZxyz(39.3152, 53.2186, 15.9839)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF51 #7B51CF
analogous
#CFBA51 #A5CF51 #66CF51
triadic
#A5CF51 #51A5CF #CF51A5
tetradic
#A5CF51 #51CFBA #7B51CF #CF5166
square
#A5CF51 #51CFBA #7B51CF #CF5166
split-complementary
#A5CF51 #5166CF #BA51CF
monochromatic
#628224 #87B231 #A5CF51 #BEDC81 #D7E9B1

Accessibility & contrast

On white

1.80
#A5CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#A5CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF51
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF51#FFFFFF#000000##000000
##A5CF511.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#D4C05A
Tritanopia (blue-blind)
#ABC6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5cf51;
/* rgb */ color: rgb(165, 207, 81);
/* oklch */ color: oklch(79.9% 0.160 125.5);
Tailwind
colors: {
  custom: {
    50: '#c2dd87',
    500: '#a5cf51',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf51;
$custom-light: #c2dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf51",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 80,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79919,
    "c": 0.16027,
    "h": 125.5
  },
  "luminance": 0.53219
}

Semantic roles & 50–950 ramp

primary
#A5CF51
secondary
#553B89
accent
#48E07B
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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