#CDF896#CDF896

#CDF896 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.7% C 0.133 H 128.1°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#CDF896
RGBrgb(205, 248, 150)
HSLhsl(86, 88%, 78%)
HSVhsv(86, 40%, 97%)
CMYKcmyk(17.3%, 0%, 39.5%, 2.7%)
CIE-LABlab(92.71, -29.78, 42.60)
CIE-LCHlch(92.71, 51.98, 124.96°)
OKLaboklab(92.68% -0.0818 0.1044)
OKLCHoklch(92.68% 0.133 128.1)
XYZxyz(64.2486, 82.3151, 41.3518)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF896 #C196F8
analogous
#F8F296 #CDF896 #9CF896
triadic
#CDF896 #96CDF8 #F896CD
tetradic
#CDF896 #96F8F2 #C196F8 #F8969C
square
#CDF896 #96F8F2 #C196F8 #F8969C
split-complementary
#CDF896 #969CF8 #F296F8
monochromatic
#96F023 #B2F45D #CDF896 #E8FCCF #F1FDE2

Accessibility & contrast

On white

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

On black

17.46
#CDF896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF896
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF896#FFFFFF#000000##000000
##CDF8961.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FBE99B
Tritanopia (blue-blind)
#D1F0E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf896;
/* rgb */ color: rgb(205, 248, 150);
/* oklch */ color: oklch(92.7% 0.133 128.1);
Tailwind
colors: {
  custom: {
    50: '#ddfab6',
    500: '#cdf896',
    950: '#000000',
  },
}
SCSS
$custom: #cdf896;
$custom-light: #ddfab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf896",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 86.327,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92677,
    "c": 0.13267,
    "h": 128.1
  },
  "luminance": 0.82316
}

Semantic roles & 50–950 ramp

primary
#CDF896
secondary
#915BD8
accent
#01E465
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF896

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

Preview Lab → · Contrast checker → · Palette generator →

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