#A5CF45#A5CF45

#A5CF45 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.8% C 0.169 H 124.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#A5CF45
RGBrgb(165, 207, 69)
HSLhsl(78, 59%, 54%)
HSVhsv(78, 67%, 81%)
CMYKcmyk(20.3%, 0%, 66.7%, 18.8%)
CIE-LABlab(77.91, -33.53, 61.40)
CIE-LCHlch(77.91, 69.96, 118.64°)
OKLaboklab(79.81% -0.0965 0.1392)
OKLCHoklch(79.81% 0.169 124.7)
XYZxyz(38.9043, 53.0543, 13.8199)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF45 #6F45CF
analogous
#CFB445 #A5CF45 #60CF45
triadic
#A5CF45 #45A5CF #CF45A5
tetradic
#A5CF45 #45CFB4 #6F45CF #CF4560
square
#A5CF45 #45CFB4 #6F45CF #CF4560
split-complementary
#A5CF45 #4560CF #B445CF
monochromatic
#5F7A20 #84AB2C #A5CF45 #BDDC76 #D4E8A6

Accessibility & contrast

On white

1.81
#A5CF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#A5CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF45
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF45#FFFFFF#000000##000000
##A5CF451.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC231
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#ACC5B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5cf45;
/* rgb */ color: rgb(165, 207, 69);
/* oklch */ color: oklch(79.8% 0.169 124.7);
Tailwind
colors: {
  custom: {
    50: '#c3dd80',
    500: '#a5cf45',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf45;
$custom-light: #c3dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf45",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 78.261,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7981,
    "c": 0.16936,
    "h": 124.7
  },
  "luminance": 0.53055
}

Semantic roles & 50–950 ramp

primary
#A5CF45
secondary
#4D3682
accent
#46E275
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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