#CDF178#CDF178

#CDF178 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.7% C 0.153 H 123.2°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#CDF178
RGBrgb(205, 241, 120)
HSLhsl(78, 81%, 71%)
HSVhsv(78, 50%, 95%)
CMYKcmyk(14.9%, 0%, 50.2%, 5.5%)
CIE-LABlab(90.43, -29.80, 54.07)
CIE-LCHlch(90.43, 61.74, 118.86°)
OKLaboklab(90.72% -0.0839 0.1284)
OKLCHoklch(90.72% 0.153 123.2)
XYZxyz(60.0225, 77.2456, 29.5134)
Luminance0.7725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF178 #9C78F1
analogous
#F1D878 #CDF178 #90F178
triadic
#CDF178 #78CDF1 #F178CD
tetradic
#CDF178 #78F1D8 #9C78F1 #F17890
square
#CDF178 #78F1D8 #9C78F1 #F17890
split-complementary
#CDF178 #7890F1 #D878F1
monochromatic
#9FD816 #B8EB41 #CDF178 #E2F7AF #F5FCE3

Accessibility & contrast

On white

1.28
#CDF178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#CDF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF178
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF178#FFFFFF#000000##000000
##CDF1781.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56D
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#D5E7D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf178;
/* rgb */ color: rgb(205, 241, 120);
/* oklch */ color: oklch(90.7% 0.153 123.2);
Tailwind
colors: {
  custom: {
    50: '#def5a2',
    500: '#cdf178',
    950: '#000000',
  },
}
SCSS
$custom: #cdf178;
$custom-light: #def5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf178",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 77.851,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90722,
    "c": 0.15336,
    "h": 123.2
  },
  "luminance": 0.77246
}

Semantic roles & 50–950 ramp

primary
#CDF178
secondary
#6B42CB
accent
#08DE47
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF178

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

Preview Lab → · Contrast checker → · Palette generator →

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