#C5DC52#C5DC52

#C5DC52 is a very light, vivid yellow-green. Relative luminance 0.637; OKLCH L 85.1% C 0.163 H 118.1°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#C5DC52
RGBrgb(197, 220, 82)
HSLhsl(70, 66%, 59%)
HSVhsv(70, 63%, 86%)
CMYKcmyk(10.5%, 0%, 62.7%, 13.7%)
CIE-LABlab(83.79, -26.13, 63.05)
CIE-LCHlch(83.79, 68.25, 112.51°)
OKLaboklab(85.13% -0.0766 0.1438)
OKLCHoklch(85.13% 0.163 118.1)
XYZxyz(50.1431, 63.6664, 17.6283)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DC52 #6952DC
analogous
#DCAE52 #C5DC52 #80DC52
triadic
#C5DC52 #52C5DC #DC52C5
tetradic
#C5DC52 #52DCAE #6952DC #DC5280
square
#C5DC52 #52DCAE #6952DC #DC5280
split-complementary
#C5DC52 #5280DC #AE52DC
monochromatic
#82951E #AEC829 #C5DC52 #D6E685 #E7F1B8

Accessibility & contrast

On white

1.53
#C5DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#C5DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DC52
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DC52#FFFFFF#000000##000000
##C5DC521.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#E7D25C
Tritanopia (blue-blind)
#D0D1BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c5dc52;
/* rgb */ color: rgb(197, 220, 82);
/* oklch */ color: oklch(85.1% 0.163 118.1);
Tailwind
colors: {
  custom: {
    50: '#d9e689',
    500: '#c5dc52',
    950: '#000000',
  },
}
SCSS
$custom: #c5dc52;
$custom-light: #d9e689;
$custom-dark: #000000;
JSON
{
  "hex": "#c5dc52",
  "rgb": {
    "r": 197,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 70,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85129,
    "c": 0.16293,
    "h": 118.1
  },
  "luminance": 0.63666
}

Semantic roles & 50–950 ramp

primary
#C5DC52
secondary
#49389A
accent
#3FE95B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C5DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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