#CDF788#CDF788

#CDF788 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.2% C 0.146 H 126.1°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#CDF788
RGBrgb(205, 247, 136)
HSLhsl(83, 87%, 75%)
HSVhsv(83, 45%, 97%)
CMYKcmyk(17%, 0%, 44.9%, 3.1%)
CIE-LABlab(92.26, -30.94, 48.78)
CIE-LCHlch(92.26, 57.77, 122.38°)
OKLaboklab(92.25% -0.0859 0.1178)
OKLCHoklch(92.25% 0.146 126.1)
XYZxyz(62.8812, 81.2776, 35.6631)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF788 #B288F7
analogous
#F7EA88 #CDF788 #95F788
triadic
#CDF788 #88CDF7 #F788CD
tetradic
#CDF788 #88F7EA #B288F7 #F78895
square
#CDF788 #88F7EA #B288F7 #F78895
split-complementary
#CDF788 #8895F7 #EA88F7
monochromatic
#9DEF15 #B5F34F #CDF788 #E5FBC1 #F3FDE2

Accessibility & contrast

On white

1.22
#CDF788 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#CDF788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF788
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF788#FFFFFF#000000##000000
##CDF7881.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7F
Deuteranopia (green-blind)
#FBE88E
Tritanopia (blue-blind)
#D3EEDD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf788;
/* rgb */ color: rgb(205, 247, 136);
/* oklch */ color: oklch(92.2% 0.146 126.1);
Tailwind
colors: {
  custom: {
    50: '#defaac',
    500: '#cdf788',
    950: '#000000',
  },
}
SCSS
$custom: #cdf788;
$custom-light: #defaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf788",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 136
  },
  "hsl": {
    "h": 82.703,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92247,
    "c": 0.14575,
    "h": 126.1
  },
  "luminance": 0.81278
}

Semantic roles & 50–950 ramp

primary
#CDF788
secondary
#814FD5
accent
#02E457
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF788

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

Preview Lab → · Contrast checker → · Palette generator →

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