#CDF799#CDF799

#CDF799 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.5% C 0.128 H 128.3°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#CDF799
RGBrgb(205, 247, 153)
HSLhsl(87, 85%, 78%)
HSVhsv(87, 38%, 97%)
CMYKcmyk(17%, 0%, 38.1%, 3.1%)
CIE-LABlab(92.49, -28.94, 40.84)
CIE-LCHlch(92.49, 50.05, 125.33°)
OKLaboklab(92.51% -0.0793 0.1005)
OKLCHoklch(92.51% 0.128 128.3)
XYZxyz(64.1866, 81.7998, 42.5381)
Luminance0.8180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF799 #C399F7
analogous
#F7F299 #CDF799 #9EF799
triadic
#CDF799 #99CDF7 #F799CD
tetradic
#CDF799 #99F7F2 #C399F7 #F7999E
square
#CDF799 #99F7F2 #C399F7 #F7999E
split-complementary
#CDF799 #999EF7 #F299F7
monochromatic
#95EE27 #B1F360 #CDF799 #E9FBD2 #F1FDE3

Accessibility & contrast

On white

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

On black

17.36
#CDF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF799
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF799#FFFFFF#000000##000000
##CDF7991.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB92
Deuteranopia (green-blind)
#FAE99E
Tritanopia (blue-blind)
#D1EFE0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf799;
/* rgb */ color: rgb(205, 247, 153);
/* oklch */ color: oklch(92.5% 0.128 128.3);
Tailwind
colors: {
  custom: {
    50: '#ddfab8',
    500: '#cdf799',
    950: '#000000',
  },
}
SCSS
$custom: #cdf799;
$custom-light: #ddfab8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf799",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 86.809,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92508,
    "c": 0.12802,
    "h": 128.3
  },
  "luminance": 0.81801
}

Semantic roles & 50–950 ramp

primary
#CDF799
secondary
#945ED6
accent
#04E267
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF799

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

Preview Lab → · Contrast checker → · Palette generator →

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