#CDF796#CDF796

#CDF796 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.5% C 0.131 H 127.8°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#CDF796
RGBrgb(205, 247, 150)
HSLhsl(86, 86%, 78%)
HSVhsv(86, 39%, 97%)
CMYKcmyk(17%, 0%, 39.3%, 3.1%)
CIE-LABlab(92.44, -29.31, 42.25)
CIE-LCHlch(92.44, 51.43, 124.75°)
OKLaboklab(92.46% -0.0805 0.1036)
OKLCHoklch(92.46% 0.131 127.8)
XYZxyz(63.9419, 81.7019, 41.2496)
Luminance0.8170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF796 #C096F7
analogous
#F7F096 #CDF796 #9CF796
triadic
#CDF796 #96CDF7 #F796CD
tetradic
#CDF796 #96F7F0 #C096F7 #F7969C
square
#CDF796 #96F7F0 #C096F7 #F7969C
split-complementary
#CDF796 #969CF7 #F096F7
monochromatic
#97EE24 #B2F35D #CDF796 #E8FBCF #F1FDE3

Accessibility & contrast

On white

1.21
#CDF796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#CDF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF796
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF796#FFFFFF#000000##000000
##CDF7961.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#FAE99B
Tritanopia (blue-blind)
#D1EFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf796;
/* rgb */ color: rgb(205, 247, 150);
/* oklch */ color: oklch(92.5% 0.131 127.8);
Tailwind
colors: {
  custom: {
    50: '#ddfab6',
    500: '#cdf796',
    950: '#000000',
  },
}
SCSS
$custom: #cdf796;
$custom-light: #ddfab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf796",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 85.979,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.9246,
    "c": 0.13123,
    "h": 127.8
  },
  "luminance": 0.81703
}

Semantic roles & 50–950 ramp

primary
#CDF796
secondary
#905BD6
accent
#03E264
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF796

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

Preview Lab → · Contrast checker → · Palette generator →

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