#CDF478#CDF478

#CDF478 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.4% C 0.157 H 123.9°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#CDF478
RGBrgb(205, 244, 120)
HSLhsl(79, 85%, 71%)
HSVhsv(79, 51%, 96%)
CMYKcmyk(16%, 0%, 50.8%, 4.3%)
CIE-LABlab(91.25, -31.19, 55.05)
CIE-LCHlch(91.25, 63.27, 119.54°)
OKLaboklab(91.38% -0.0878 0.1305)
OKLCHoklch(91.38% 0.157 123.9)
XYZxyz(60.9178, 79.0362, 29.8118)
Luminance0.7904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF478 #9F78F4
analogous
#F4DD78 #CDF478 #8FF478
triadic
#CDF478 #78CDF4 #F478CD
tetradic
#CDF478 #78F4DD #9F78F4 #F4788F
square
#CDF478 #78F4DD #9F78F4 #F4788F
split-complementary
#CDF478 #788FF4 #DD78F4
monochromatic
#9FDF12 #B8EF3F #CDF478 #E2F9B1 #F5FDE3

Accessibility & contrast

On white

1.25
#CDF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#CDF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF478
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF478#FFFFFF#000000##000000
##CDF4781.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FAE67F
Tritanopia (blue-blind)
#D5EAD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cdf478;
/* rgb */ color: rgb(205, 244, 120);
/* oklch */ color: oklch(91.4% 0.157 123.9);
Tailwind
colors: {
  custom: {
    50: '#def7a2',
    500: '#cdf478',
    950: '#000000',
  },
}
SCSS
$custom: #cdf478;
$custom-light: #def7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf478",
  "rgb": {
    "r": 205,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 78.871,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91378,
    "c": 0.15728,
    "h": 123.9
  },
  "luminance": 0.79037
}

Semantic roles & 50–950 ramp

primary
#CDF478
secondary
#6E41CF
accent
#04E14A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF478

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

Preview Lab → · Contrast checker → · Palette generator →

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