#A5CF40#A5CF40

#A5CF40 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.8% C 0.173 H 124.5°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#A5CF40
RGBrgb(165, 207, 64)
HSLhsl(78, 60%, 53%)
HSVhsv(78, 69%, 81%)
CMYKcmyk(20.3%, 0%, 69.1%, 18.8%)
CIE-LABlab(77.87, -33.85, 63.27)
CIE-LCHlch(77.87, 71.76, 118.15°)
OKLaboklab(79.77% -0.0978 0.1424)
OKLCHoklch(79.77% 0.173 124.5)
XYZxyz(38.7556, 52.9948, 13.0367)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF40 #6A40CF
analogous
#CFB140 #A5CF40 #5DCF40
triadic
#A5CF40 #40A5CF #CF40A5
tetradic
#A5CF40 #40CFB1 #6A40CF #CF405D
square
#A5CF40 #40CFB1 #6A40CF #CF405D
split-complementary
#A5CF40 #405DCF #B140CF
monochromatic
#5D771E #83A82A #A5CF40 #BCDB71 #D3E8A2

Accessibility & contrast

On white

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

On black

11.60
#A5CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF40
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF40#FFFFFF#000000##000000
##A5CF401.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC229
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#ADC5B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a5cf40;
/* rgb */ color: rgb(165, 207, 64);
/* oklch */ color: oklch(79.8% 0.173 124.5);
Tailwind
colors: {
  custom: {
    50: '#c3dd7d',
    500: '#a5cf40',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf40;
$custom-light: #c3dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf40",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 77.622,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7977,
    "c": 0.17276,
    "h": 124.5
  },
  "luminance": 0.52995
}

Semantic roles & 50–950 ramp

primary
#A5CF40
secondary
#4A347F
accent
#45E373
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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