#C5DD40#C5DD40

#C5DD40 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.2% C 0.176 H 117.9°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#C5DD40
RGBrgb(197, 221, 64)
HSLhsl(69, 70%, 56%)
HSVhsv(69, 71%, 87%)
CMYKcmyk(10.9%, 0%, 71%, 13.3%)
CIE-LABlab(83.94, -27.67, 70.02)
CIE-LCHlch(83.94, 75.29, 111.56°)
OKLaboklab(85.21% -0.0826 0.1558)
OKLCHoklch(85.21% 0.176 117.9)
XYZxyz(49.8089, 63.9539, 14.5699)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DD40 #5840DD
analogous
#DDA640 #C5DD40 #76DD40
triadic
#C5DD40 #40C5DD #DD40C5
tetradic
#C5DD40 #40DDA6 #5840DD #DD4076
square
#C5DD40 #40DDA6 #5840DD #DD4076
split-complementary
#C5DD40 #4076DD #A640DD
monochromatic
#798A19 #A6BE22 #C5DD40 #D5E674 #E5EFA8

Accessibility & contrast

On white

1.52
#C5DD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#C5DD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DD40
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DD40#FFFFFF#000000##000000
##C5DD401.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD123
Deuteranopia (green-blind)
#E9D24D
Tritanopia (blue-blind)
#D1D1BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c5dd40;
/* rgb */ color: rgb(197, 221, 64);
/* oklch */ color: oklch(85.2% 0.176 117.9);
Tailwind
colors: {
  custom: {
    50: '#dae77f',
    500: '#c5dd40',
    950: '#000000',
  },
}
SCSS
$custom: #c5dd40;
$custom-light: #dae77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5dd40",
  "rgb": {
    "r": 197,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 69.172,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85209,
    "c": 0.17631,
    "h": 117.9
  },
  "luminance": 0.63953
}

Semantic roles & 50–950 ramp

primary
#C5DD40
secondary
#403190
accent
#3BED56
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C5DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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