#CDF396#CDF396

#CDF396 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.6% C 0.125 H 126.8°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#CDF396
RGBrgb(205, 243, 150)
HSLhsl(85, 79%, 77%)
HSVhsv(85, 38%, 95%)
CMYKcmyk(15.6%, 0%, 38.3%, 4.7%)
CIE-LABlab(91.36, -27.43, 40.86)
CIE-LCHlch(91.36, 49.22, 123.88°)
OKLaboklab(91.59% -0.0752 0.1004)
OKLCHoklch(91.59% 0.125 126.8)
XYZxyz(62.7318, 79.2817, 40.8462)
Luminance0.7928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF396 #BC96F3
analogous
#F3EA96 #CDF396 #9FF396
triadic
#CDF396 #96CDF3 #F396CD
tetradic
#CDF396 #96F3EA #BC96F3 #F3969F
square
#CDF396 #96F3EA #BC96F3 #F3969F
split-complementary
#CDF396 #969FF3 #EA96F3
monochromatic
#99E628 #B3ED5F #CDF396 #E7F9CD #F2FCE4

Accessibility & contrast

On white

1.25
#CDF396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#CDF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF396
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF396#FFFFFF#000000##000000
##CDF3961.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#F7E69B
Tritanopia (blue-blind)
#D2EBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cdf396;
/* rgb */ color: rgb(205, 243, 150);
/* oklch */ color: oklch(91.6% 0.125 126.8);
Tailwind
colors: {
  custom: {
    50: '#ddf7b6',
    500: '#cdf396',
    950: '#000000',
  },
}
SCSS
$custom: #cdf396;
$custom-light: #ddf7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf396",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 84.516,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91591,
    "c": 0.12549,
    "h": 126.8
  },
  "luminance": 0.79282
}

Semantic roles & 50–950 ramp

primary
#CDF396
secondary
#8C5DD1
accent
#0ADC60
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF396

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

Preview Lab → · Contrast checker → · Palette generator →

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