#CDFA96#CDFA96

#CDFA96 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.1% C 0.136 H 128.5°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#CDFA96
RGBrgb(205, 250, 150)
HSLhsl(87, 91%, 78%)
HSVhsv(87, 40%, 98%)
CMYKcmyk(18%, 0%, 40%, 2%)
CIE-LABlab(93.26, -30.71, 43.30)
CIE-LCHlch(93.26, 53.08, 125.35°)
OKLaboklab(93.11% -0.0844 0.106)
OKLCHoklch(93.11% 0.136 128.5)
XYZxyz(64.8667, 83.5515, 41.5578)
Luminance0.8355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFA96 #C396FA
analogous
#FAF596 #CDFA96 #9BFA96
triadic
#CDFA96 #96CDFA #FA96CD
tetradic
#CDFA96 #96FAF5 #C396FA #FA969B
square
#CDFA96 #96FAF5 #C396FA #FA969B
split-complementary
#CDFA96 #969BFA #F596FA
monochromatic
#95F421 #B1F75C #CDFA96 #E9FDD0 #F1FEE2

Accessibility & contrast

On white

1.19
#CDFA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#CDFA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFA96
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFA96#FFFFFF#000000##000000
##CDFA961.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8E
Deuteranopia (green-blind)
#FCEB9B
Tritanopia (blue-blind)
#D1F2E1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cdfa96;
/* rgb */ color: rgb(205, 250, 150);
/* oklch */ color: oklch(93.1% 0.136 128.5);
Tailwind
colors: {
  custom: {
    50: '#ddfcb6',
    500: '#cdfa96',
    950: '#000000',
  },
}
SCSS
$custom: #cdfa96;
$custom-light: #ddfcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfa96",
  "rgb": {
    "r": 205,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 87,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93112,
    "c": 0.13552,
    "h": 128.5
  },
  "luminance": 0.83552
}

Semantic roles & 50–950 ramp

primary
#CDFA96
secondary
#945ADA
accent
#00E667
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDFA96

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

Preview Lab → · Contrast checker → · Palette generator →

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