#CDF88C#CDF88C

#CDF88C is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.5% C 0.143 H 126.8°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#CDF88C
RGBrgb(205, 248, 140)
HSLhsl(84, 89%, 76%)
HSVhsv(84, 44%, 97%)
CMYKcmyk(17.3%, 0%, 43.5%, 2.7%)
CIE-LABlab(92.58, -30.96, 47.27)
CIE-LCHlch(92.58, 56.51, 123.22°)
OKLaboklab(92.52% -0.0857 0.1146)
OKLCHoklch(92.52% 0.143 126.8)
XYZxyz(63.4774, 82.0067, 37.2905)
Luminance0.8201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF88C #B78CF8
analogous
#F8ED8C #CDF88C #97F88C
triadic
#CDF88C #8CCDF8 #F88CCD
tetradic
#CDF88C #8CF8ED #B78CF8 #F88C97
square
#CDF88C #8CF8ED #B78CF8 #F88C97
split-complementary
#CDF88C #8C97F8 #ED8CF8
monochromatic
#9BF119 #B4F452 #CDF88C #E6FCC6 #F2FDE2

Accessibility & contrast

On white

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

On black

17.40
#CDF88C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF88C
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF88C#FFFFFF#000000##000000
##CDF88C1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB83
Deuteranopia (green-blind)
#FCE992
Tritanopia (blue-blind)
#D2EFDE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf88c;
/* rgb */ color: rgb(205, 248, 140);
/* oklch */ color: oklch(92.5% 0.143 126.8);
Tailwind
colors: {
  custom: {
    50: '#defaaf',
    500: '#cdf88c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf88c;
$custom-light: #defaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf88c",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 140
  },
  "hsl": {
    "h": 83.889,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92523,
    "c": 0.14307,
    "h": 126.8
  },
  "luminance": 0.82007
}

Semantic roles & 50–950 ramp

primary
#CDF88C
secondary
#8752D6
accent
#00E55B
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF88C

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

Preview Lab → · Contrast checker → · Palette generator →

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