#A5CF4F#A5CF4F

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

Color values

HEX#A5CF4F
RGBrgb(165, 207, 79)
HSLhsl(80, 57%, 56%)
HSVhsv(80, 62%, 81%)
CMYKcmyk(20.3%, 0%, 61.8%, 18.8%)
CIE-LABlab(77.99, -32.80, 57.40)
CIE-LCHlch(77.99, 66.12, 119.75°)
OKLaboklab(79.9% -0.0936 0.1321)
OKLCHoklch(79.9% 0.162 125.3)
XYZxyz(39.2413, 53.1891, 15.5948)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF4F #794FCF
analogous
#CFB94F #A5CF4F #65CF4F
triadic
#A5CF4F #4FA5CF #CF4FA5
tetradic
#A5CF4F #4FCFB9 #794FCF #CF4F65
square
#A5CF4F #4FCFB9 #794FCF #CF4F65
split-complementary
#A5CF4F #4F65CF #B94FCF
monochromatic
#628123 #86B130 #A5CF4F #BEDC7F #D6E9AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5CF4F#FFFFFF#000000##000000
##A5CF4F1.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)
#DAC240
Deuteranopia (green-blind)
#D4C058
Tritanopia (blue-blind)
#ACC6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5cf4f;
/* rgb */ color: rgb(165, 207, 79);
/* oklch */ color: oklch(79.9% 0.162 125.3);
Tailwind
colors: {
  custom: {
    50: '#c3dd86',
    500: '#a5cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf4f;
$custom-light: #c3dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf4f",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 79.688,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.799,
    "c": 0.16187,
    "h": 125.3
  },
  "luminance": 0.53189
}

Semantic roles & 50–950 ramp

primary
#A5CF4F
secondary
#543A88
accent
#47E07A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A5CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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