#CDF795#CDF795

#CDF795 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.4% C 0.132 H 127.7°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#CDF795
RGBrgb(205, 247, 149)
HSLhsl(86, 86%, 78%)
HSVhsv(86, 40%, 97%)
CMYKcmyk(17%, 0%, 39.7%, 3.1%)
CIE-LABlab(92.43, -29.44, 42.73)
CIE-LCHlch(92.43, 51.88, 124.57°)
OKLaboklab(92.44% -0.0809 0.1047)
OKLCHoklch(92.44% 0.132 127.7)
XYZxyz(63.8618, 81.6698, 40.8273)
Luminance0.8167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF795 #BF95F7
analogous
#F7F095 #CDF795 #9CF795
triadic
#CDF795 #95CDF7 #F795CD
tetradic
#CDF795 #95F7F0 #BF95F7 #F7959C
square
#CDF795 #95F7F0 #BF95F7 #F7959C
split-complementary
#CDF795 #959CF7 #F095F7
monochromatic
#97EE23 #B2F35C #CDF795 #E8FBCE #F2FDE3

Accessibility & contrast

On white

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

On black

17.33
#CDF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF795
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF795#FFFFFF#000000##000000
##CDF7951.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8E
Deuteranopia (green-blind)
#FAE89A
Tritanopia (blue-blind)
#D2EFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf795;
/* rgb */ color: rgb(205, 247, 149);
/* oklch */ color: oklch(92.4% 0.132 127.7);
Tailwind
colors: {
  custom: {
    50: '#ddfab5',
    500: '#cdf795',
    950: '#000000',
  },
}
SCSS
$custom: #cdf795;
$custom-light: #ddfab5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf795",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 85.714,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92444,
    "c": 0.13229,
    "h": 127.7
  },
  "luminance": 0.81671
}

Semantic roles & 50–950 ramp

primary
#CDF795
secondary
#8F5AD6
accent
#03E263
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF795

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

Preview Lab → · Contrast checker → · Palette generator →

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