#CDF8A2#CDF8A2

#CDF8A2 is a very light, moderate yellow-green. Relative luminance 0.827; OKLCH L 92.9% C 0.120 H 130.1°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#CDF8A2
RGBrgb(205, 248, 162)
HSLhsl(90, 86%, 80%)
HSVhsv(90, 35%, 97%)
CMYKcmyk(17.3%, 0%, 34.7%, 2.7%)
CIE-LABlab(92.89, -28.25, 36.91)
CIE-LCHlch(92.89, 46.48, 127.43°)
OKLaboklab(92.88% -0.077 0.0917)
OKLCHoklch(92.88% 0.12 130.1)
XYZxyz(65.2648, 82.7216, 46.7038)
Luminance0.8272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF8A2 #CDA2F8
analogous
#F8F8A2 #CDF8A2 #A2F8A2
triadic
#CDF8A2 #A2CDF8 #F8A2CD
tetradic
#CDF8A2 #A2F8F8 #CDA2F8 #F8A2A2
square
#CDF8A2 #A2F8F8 #CDA2F8 #F8A2A2
split-complementary
#CDF8A2 #A2A2F8 #F8A2F8
monochromatic
#90EF30 #AEF469 #CDF8A2 #ECFCDB #F0FDE3

Accessibility & contrast

On white

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

On black

17.54
#CDF8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF8A2
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF8A2#FFFFFF#000000##000000
##CDF8A21.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED9C
Deuteranopia (green-blind)
#F9EAA6
Tritanopia (blue-blind)
#D0F1E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cdf8a2;
/* rgb */ color: rgb(205, 248, 162);
/* oklch */ color: oklch(92.9% 0.120 130.1);
Tailwind
colors: {
  custom: {
    50: '#ddfabe',
    500: '#cdf8a2',
    950: '#000000',
  },
}
SCSS
$custom: #cdf8a2;
$custom-light: #ddfabe;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf8a2",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 162
  },
  "hsl": {
    "h": 90,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.92879,
    "c": 0.11973,
    "h": 130.1
  },
  "luminance": 0.82723
}

Semantic roles & 50–950 ramp

primary
#CDF8A2
secondary
#9F65D9
accent
#03E373
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #CDF8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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