#CDF878#CDF878

#CDF878 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.3% C 0.163 H 124.9°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CDF878
RGBrgb(205, 248, 120)
HSLhsl(80, 90%, 72%)
HSVhsv(80, 52%, 97%)
CMYKcmyk(17.3%, 0%, 51.6%, 2.7%)
CIE-LABlab(92.34, -33.04, 56.34)
CIE-LCHlch(92.34, 65.31, 120.39°)
OKLaboklab(92.26% -0.0929 0.1333)
OKLCHoklch(92.26% 0.163 124.9)
XYZxyz(62.1344, 81.4695, 30.2174)
Luminance0.8147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF878 #A378F8
analogous
#F8E378 #CDF878 #8DF878
triadic
#CDF878 #78CDF8 #F878CD
tetradic
#CDF878 #78F8E3 #A378F8 #F8788D
square
#CDF878 #78F8E3 #A378F8 #F8788D
split-complementary
#CDF878 #788DF8 #E378F8
monochromatic
#9FE90C #B7F53E #CDF878 #E3FBB2 #F4FDE2

Accessibility & contrast

On white

1.21
#CDF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#CDF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF878
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF878#FFFFFF#000000##000000
##CDF8781.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#D4EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf878;
/* rgb */ color: rgb(205, 248, 120);
/* oklch */ color: oklch(92.3% 0.163 124.9);
Tailwind
colors: {
  custom: {
    50: '#defaa2',
    500: '#cdf878',
    950: '#000000',
  },
}
SCSS
$custom: #cdf878;
$custom-light: #defaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf878",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 80.156,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92255,
    "c": 0.16253,
    "h": 124.9
  },
  "luminance": 0.8147
}

Semantic roles & 50–950 ramp

primary
#CDF878
secondary
#7240D4
accent
#00E64D
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF878

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

Preview Lab → · Contrast checker → · Palette generator →

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