#CDF78D#CDF78D

#CDF78D is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.3% C 0.141 H 126.7°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#CDF78D
RGBrgb(205, 247, 141)
HSLhsl(84, 87%, 76%)
HSVhsv(84, 43%, 97%)
CMYKcmyk(17%, 0%, 42.9%, 3.1%)
CIE-LABlab(92.32, -30.38, 46.47)
CIE-LCHlch(92.32, 55.52, 123.18°)
OKLaboklab(92.32% -0.084 0.1128)
OKLCHoklch(92.32% 0.141 126.7)
XYZxyz(63.2449, 81.4231, 37.5784)
Luminance0.8142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF78D #B78DF7
analogous
#F7EC8D #CDF78D #98F78D
triadic
#CDF78D #8DCDF7 #F78DCD
tetradic
#CDF78D #8DF7EC #B78DF7 #F78D98
square
#CDF78D #8DF7EC #B78DF7 #F78D98
split-complementary
#CDF78D #8D98F7 #EC8DF7
monochromatic
#9BEF1B #B4F354 #CDF78D #E6FBC6 #F2FDE2

Accessibility & contrast

On white

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

On black

17.28
#CDF78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF78D
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF78D#FFFFFF#000000##000000
##CDF78D1.001.2117.2817.28
#FFFFFF1.211.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB85
Deuteranopia (green-blind)
#FBE893
Tritanopia (blue-blind)
#D2EEDE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf78d;
/* rgb */ color: rgb(205, 247, 141);
/* oklch */ color: oklch(92.3% 0.141 126.7);
Tailwind
colors: {
  custom: {
    50: '#defab0',
    500: '#cdf78d',
    950: '#000000',
  },
}
SCSS
$custom: #cdf78d;
$custom-light: #defab0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf78d",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 141
  },
  "hsl": {
    "h": 83.774,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9232,
    "c": 0.14066,
    "h": 126.7
  },
  "luminance": 0.81424
}

Semantic roles & 50–950 ramp

primary
#CDF78D
secondary
#8753D5
accent
#02E35B
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151711
muted
#848581

Preview Lab

Preview with #CDF78D

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

Preview Lab → · Contrast checker → · Palette generator →

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