#A5CF54#A5CF54

#A5CF54 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.0% C 0.158 H 125.7°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#A5CF54
RGBrgb(165, 207, 84)
HSLhsl(80, 56%, 57%)
HSVhsv(80, 59%, 81%)
CMYKcmyk(20.3%, 0%, 59.4%, 18.8%)
CIE-LABlab(78.03, -32.40, 55.30)
CIE-LCHlch(78.03, 64.09, 120.36°)
OKLaboklab(79.95% -0.092 0.1282)
OKLCHoklch(79.95% 0.158 125.7)
XYZxyz(39.4302, 53.2646, 16.5895)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF54 #7E54CF
analogous
#CFBC54 #A5CF54 #68CF54
triadic
#A5CF54 #54A5CF #CF54A5
tetradic
#A5CF54 #54CFBC #7E54CF #CF5468
square
#A5CF54 #54CFBC #7E54CF #CF5468
split-complementary
#A5CF54 #5468CF #BC54CF
monochromatic
#638425 #87B332 #A5CF54 #BEDC84 #D7EAB4

Accessibility & contrast

On white

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

On black

11.65
#A5CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF54
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF54#FFFFFF#000000##000000
##A5CF541.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C246
Deuteranopia (green-blind)
#D4C05D
Tritanopia (blue-blind)
#ABC6B5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5cf54;
/* rgb */ color: rgb(165, 207, 84);
/* oklch */ color: oklch(80.0% 0.158 125.7);
Tailwind
colors: {
  custom: {
    50: '#c2dd89',
    500: '#a5cf54',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf54;
$custom-light: #c2dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf54",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 80.488,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7995,
    "c": 0.15779,
    "h": 125.7
  },
  "luminance": 0.53265
}

Semantic roles & 50–950 ramp

primary
#A5CF54
secondary
#573C8B
accent
#48DF7C
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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