#CDF18C#CDF18C

#CDF18C is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 91.0% C 0.133 H 125.0°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#CDF18C
RGBrgb(205, 241, 140)
HSLhsl(81, 78%, 75%)
HSVhsv(81, 42%, 95%)
CMYKcmyk(14.9%, 0%, 41.9%, 5.5%)
CIE-LABlab(90.68, -27.68, 44.89)
CIE-LCHlch(90.68, 52.74, 121.66°)
OKLaboklab(91% -0.0765 0.1092)
OKLCHoklch(91% 0.133 125)
XYZxyz(61.3655, 77.7828, 36.5865)
Luminance0.7778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF18C #B08CF1
analogous
#F1E38C #CDF18C #9BF18C
triadic
#CDF18C #8CCDF1 #F18CCD
tetradic
#CDF18C #8CF1E3 #B08CF1 #F18C9B
square
#CDF18C #8CF1E3 #B08CF1 #F18C9B
split-complementary
#CDF18C #8C9BF1 #E38CF1
monochromatic
#9EE41F #B5EA55 #CDF18C #E5F8C3 #F3FCE4

Accessibility & contrast

On white

1.27
#CDF18C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#CDF18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF18C
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF18C#FFFFFF#000000##000000
##CDF18C1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE684
Deuteranopia (green-blind)
#F6E491
Tritanopia (blue-blind)
#D3E8D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf18c;
/* rgb */ color: rgb(205, 241, 140);
/* oklch */ color: oklch(91.0% 0.133 125.0);
Tailwind
colors: {
  custom: {
    50: '#ddf5af',
    500: '#cdf18c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf18c;
$custom-light: #ddf5af;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf18c",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 140
  },
  "hsl": {
    "h": 81.386,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90999,
    "c": 0.13333,
    "h": 125
  },
  "luminance": 0.77783
}

Semantic roles & 50–950 ramp

primary
#CDF18C
secondary
#7F54CD
accent
#0BDB55
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF18C

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

Preview Lab → · Contrast checker → · Palette generator →

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