#CDFC78#CDFC78

#CDFC78 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.1% C 0.168 H 125.8°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#CDFC78
RGBrgb(205, 252, 120)
HSLhsl(81, 96%, 73%)
HSVhsv(81, 52%, 99%)
CMYKcmyk(18.7%, 0%, 52.4%, 1.2%)
CIE-LABlab(93.43, -34.87, 57.63)
CIE-LCHlch(93.43, 67.35, 121.18°)
OKLaboklab(93.13% -0.098 0.1361)
OKLCHoklch(93.13% 0.168 125.8)
XYZxyz(63.3773, 83.9553, 30.6317)
Luminance0.8396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFC78 #A778FC
analogous
#FCE978 #CDFC78 #8BFC78
triadic
#CDFC78 #78CDFC #FC78CD
tetradic
#CDFC78 #78FCE9 #A778FC #FC788B
square
#CDFC78 #78FCE9 #A778FC #FC788B
split-complementary
#CDFC78 #788BFC #E978FC
monochromatic
#9FF405 #B7FB3C #CDFC78 #E3FDB4 #F4FEE1

Accessibility & contrast

On white

1.18
#CDFC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#CDFC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFC78
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFC78#FFFFFF#000000##000000
##CDFC781.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6B
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#D4F2DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cdfc78;
/* rgb */ color: rgb(205, 252, 120);
/* oklch */ color: oklch(93.1% 0.168 125.8);
Tailwind
colors: {
  custom: {
    50: '#dffda2',
    500: '#cdfc78',
    950: '#000000',
  },
}
SCSS
$custom: #cdfc78;
$custom-light: #dffda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfc78",
  "rgb": {
    "r": 205,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 81.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93134,
    "c": 0.16777,
    "h": 125.8
  },
  "luminance": 0.83956
}

Semantic roles & 50–950 ramp

primary
#CDFC78
secondary
#763FD9
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDFC78

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

Preview Lab → · Contrast checker → · Palette generator →

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