#A5CF57#A5CF57

#A5CF57 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.0% C 0.155 H 125.9°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#A5CF57
RGBrgb(165, 207, 87)
HSLhsl(81, 56%, 58%)
HSVhsv(81, 58%, 81%)
CMYKcmyk(20.3%, 0%, 58%, 18.8%)
CIE-LABlab(78.06, -32.14, 54.01)
CIE-LCHlch(78.06, 62.85, 120.76°)
OKLaboklab(79.98% -0.0911 0.1257)
OKLCHoklch(79.98% 0.155 125.9)
XYZxyz(39.5502, 53.3126, 17.2217)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF57 #8157CF
analogous
#CFBD57 #A5CF57 #69CF57
triadic
#A5CF57 #57A5CF #CF57A5
tetradic
#A5CF57 #57CFBD #8157CF #CF5769
square
#A5CF57 #57CFBD #8157CF #CF5769
split-complementary
#A5CF57 #5769CF #BD57CF
monochromatic
#648526 #88B534 #A5CF57 #BEDD87 #D8EAB6

Accessibility & contrast

On white

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

On black

11.66
#A5CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF57
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF57#FFFFFF#000000##000000
##A5CF571.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#D3C05F
Tritanopia (blue-blind)
#ABC6B5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5cf57;
/* rgb */ color: rgb(165, 207, 87);
/* oklch */ color: oklch(80.0% 0.155 125.9);
Tailwind
colors: {
  custom: {
    50: '#c2dd8a',
    500: '#a5cf57',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf57;
$custom-light: #c2dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf57",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 81,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79982,
    "c": 0.15525,
    "h": 125.9
  },
  "luminance": 0.53313
}

Semantic roles & 50–950 ramp

primary
#A5CF57
secondary
#593E8C
accent
#49DF7D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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