#A5CF4A#A5CF4A

#A5CF4A is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.9% C 0.166 H 125.0°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#A5CF4A
RGBrgb(165, 207, 74)
HSLhsl(79, 58%, 55%)
HSVhsv(79, 64%, 81%)
CMYKcmyk(20.3%, 0%, 64.3%, 18.8%)
CIE-LABlab(77.95, -33.18, 59.44)
CIE-LCHlch(77.95, 68.07, 119.17°)
OKLaboklab(79.85% -0.0951 0.1357)
OKLCHoklch(79.85% 0.166 125)
XYZxyz(39.0661, 53.1190, 14.6721)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF4A #744ACF
analogous
#CFB64A #A5CF4A #63CF4A
triadic
#A5CF4A #4AA5CF #CF4AA5
tetradic
#A5CF4A #4ACFB6 #744ACF #CF4A63
square
#A5CF4A #4ACFB6 #744ACF #CF4A63
split-complementary
#A5CF4A #4A63CF #B64ACF
monochromatic
#607D21 #85AE2E #A5CF4A #BDDC7A #D5E9AB

Accessibility & contrast

On white

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

On black

11.62
#A5CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF4A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF4A#FFFFFF#000000##000000
##A5CF4A1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC239
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#ACC5B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5cf4a;
/* rgb */ color: rgb(165, 207, 74);
/* oklch */ color: oklch(79.9% 0.166 125.0);
Tailwind
colors: {
  custom: {
    50: '#c3dd83',
    500: '#a5cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf4a;
$custom-light: #c3dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf4a",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 78.947,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79853,
    "c": 0.16572,
    "h": 125
  },
  "luminance": 0.53119
}

Semantic roles & 50–950 ramp

primary
#A5CF4A
secondary
#503885
accent
#46E177
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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