#A5CF52#A5CF52

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

Color values

HEX#A5CF52
RGBrgb(165, 207, 82)
HSLhsl(80, 57%, 57%)
HSVhsv(80, 60%, 81%)
CMYKcmyk(20.3%, 0%, 60.4%, 18.8%)
CIE-LABlab(78.01, -32.56, 56.15)
CIE-LCHlch(78.01, 64.91, 120.11°)
OKLaboklab(79.93% -0.0927 0.1298)
OKLCHoklch(79.93% 0.159 125.5)
XYZxyz(39.3530, 53.2337, 16.1829)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF52 #7C52CF
analogous
#CFBB52 #A5CF52 #67CF52
triadic
#A5CF52 #52A5CF #CF52A5
tetradic
#A5CF52 #52CFBB #7C52CF #CF5267
square
#A5CF52 #52CFBB #7C52CF #CF5267
split-complementary
#A5CF52 #5267CF #BB52CF
monochromatic
#638224 #87B231 #A5CF52 #BEDC82 #D7EAB2

Accessibility & contrast

On white

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

On black

11.65
#A5CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF52
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF52#FFFFFF#000000##000000
##A5CF521.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D4C05B
Tritanopia (blue-blind)
#ABC6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a5cf52;
/* rgb */ color: rgb(165, 207, 82);
/* oklch */ color: oklch(79.9% 0.159 125.5);
Tailwind
colors: {
  custom: {
    50: '#c2dd87',
    500: '#a5cf52',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf52;
$custom-light: #c2dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf52",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 80.16,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79929,
    "c": 0.15945,
    "h": 125.5
  },
  "luminance": 0.53234
}

Semantic roles & 50–950 ramp

primary
#A5CF52
secondary
#563C8A
accent
#48E07B
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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