#CDF988#CDF988

#CDF988 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.148 H 126.6°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#CDF988
RGBrgb(205, 249, 136)
HSLhsl(83, 90%, 75%)
HSVhsv(83, 45%, 98%)
CMYKcmyk(17.7%, 0%, 45.4%, 2.4%)
CIE-LABlab(92.80, -31.87, 49.46)
CIE-LCHlch(92.80, 58.83, 122.80°)
OKLaboklab(92.68% -0.0885 0.1193)
OKLCHoklch(92.68% 0.148 126.6)
XYZxyz(63.4961, 82.5074, 35.8681)
Luminance0.8251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF988 #B488F9
analogous
#F9ED88 #CDF988 #94F988
triadic
#CDF988 #88CDF9 #F988CD
tetradic
#CDF988 #88F9ED #B488F9 #F98894
square
#CDF988 #88F9ED #B488F9 #F98894
split-complementary
#CDF988 #8894F9 #ED88F9
monochromatic
#9CF313 #B5F64E #CDF988 #E5FCC2 #F3FEE2

Accessibility & contrast

On white

1.20
#CDF988 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#CDF988 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF988
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF988#FFFFFF#000000##000000
##CDF9881.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FDEA8E
Tritanopia (blue-blind)
#D3F0DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf988;
/* rgb */ color: rgb(205, 249, 136);
/* oklch */ color: oklch(92.7% 0.148 126.6);
Tailwind
colors: {
  custom: {
    50: '#defbac',
    500: '#cdf988',
    950: '#000000',
  },
}
SCSS
$custom: #cdf988;
$custom-light: #defbac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf988",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 136
  },
  "hsl": {
    "h": 83.363,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.92684,
    "c": 0.14849,
    "h": 126.6
  },
  "luminance": 0.82508
}

Semantic roles & 50–950 ramp

primary
#CDF988
secondary
#834ED7
accent
#00E659
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF988

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

Preview Lab → · Contrast checker → · Palette generator →

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