#C5DF52#C5DF52

#C5DF52 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.8% C 0.166 H 119.0°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#C5DF52
RGBrgb(197, 223, 82)
HSLhsl(71, 69%, 60%)
HSVhsv(71, 63%, 87%)
CMYKcmyk(11.7%, 0%, 63.2%, 12.5%)
CIE-LABlab(84.62, -27.55, 63.93)
CIE-LCHlch(84.62, 69.61, 113.32°)
OKLaboklab(85.79% -0.0806 0.1456)
OKLCHoklch(85.79% 0.166 119)
XYZxyz(50.9375, 65.2552, 17.8931)
Luminance0.6525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DF52 #6C52DF
analogous
#DFB352 #C5DF52 #7FDF52
triadic
#C5DF52 #52C5DF #DF52C5
tetradic
#C5DF52 #52DFB3 #6C52DF #DF527F
square
#C5DF52 #52DFB3 #6C52DF #DF527F
split-complementary
#C5DF52 #527FDF #B352DF
monochromatic
#839A1D #AFCE26 #C5DF52 #D6E986 #E8F2B9

Accessibility & contrast

On white

1.49
#C5DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#C5DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DF52
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DF52#FFFFFF#000000##000000
##C5DF521.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#D0D4C2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c5df52;
/* rgb */ color: rgb(197, 223, 82);
/* oklch */ color: oklch(85.8% 0.166 119.0);
Tailwind
colors: {
  custom: {
    50: '#dae989',
    500: '#c5df52',
    950: '#000000',
  },
}
SCSS
$custom: #c5df52;
$custom-light: #dae989;
$custom-dark: #000000;
JSON
{
  "hex": "#c5df52",
  "rgb": {
    "r": 197,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 71.064,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8579,
    "c": 0.16645,
    "h": 119
  },
  "luminance": 0.65255
}

Semantic roles & 50–950 ramp

primary
#C5DF52
secondary
#4A379E
accent
#3CEC5D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C5DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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