#A5CF39#A5CF39

#A5CF39 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.7% C 0.177 H 124.2°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#A5CF39
RGBrgb(165, 207, 57)
HSLhsl(77, 61%, 52%)
HSVhsv(77, 72%, 81%)
CMYKcmyk(20.3%, 0%, 72.5%, 18.8%)
CIE-LABlab(77.83, -34.26, 65.74)
CIE-LCHlch(77.83, 74.13, 117.52°)
OKLaboklab(79.72% -0.0995 0.1465)
OKLCHoklch(79.72% 0.177 124.2)
XYZxyz(38.5688, 52.9200, 12.0528)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF39 #6339CF
analogous
#CFAE39 #A5CF39 #5ACF39
triadic
#A5CF39 #39A5CF #CF39A5
tetradic
#A5CF39 #39CFAE #6339CF #CF395A
square
#A5CF39 #39CFAE #6339CF #CF395A
split-complementary
#A5CF39 #395ACF #AE39CF
monochromatic
#5A721C #81A328 #A5CF39 #BBDB6A #D2E79C

Accessibility & contrast

On white

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

On black

11.58
#A5CF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF39
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF39#FFFFFF#000000##000000
##A5CF391.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21C
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#ADC5B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a5cf39;
/* rgb */ color: rgb(165, 207, 57);
/* oklch */ color: oklch(79.7% 0.177 124.2);
Tailwind
colors: {
  custom: {
    50: '#c3dd79',
    500: '#a5cf39',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf39;
$custom-light: #c3dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf39",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 57
  },
  "hsl": {
    "h": 76.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79721,
    "c": 0.17712,
    "h": 124.2
  },
  "luminance": 0.5292
}

Semantic roles & 50–950 ramp

primary
#A5CF39
secondary
#46317B
accent
#44E471
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CF39

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

Preview Lab → · Contrast checker → · Palette generator →

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