#CDF7A1#CDF7A1

#CDF7A1 is a very light, moderate yellow-green. Relative luminance 0.821; OKLCH L 92.6% C 0.119 H 129.6°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#CDF7A1
RGBrgb(205, 247, 161)
HSLhsl(89, 84%, 80%)
HSVhsv(89, 35%, 97%)
CMYKcmyk(17%, 0%, 34.8%, 3.1%)
CIE-LABlab(92.61, -27.91, 37.04)
CIE-LCHlch(92.61, 46.38, 127.00°)
OKLaboklab(92.65% -0.0761 0.0919)
OKLCHoklch(92.65% 0.119 129.6)
XYZxyz(64.8696, 82.0730, 46.1354)
Luminance0.8207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF7A1 #CBA1F7
analogous
#F7F6A1 #CDF7A1 #A2F7A1
triadic
#CDF7A1 #A1CDF7 #F7A1CD
tetradic
#CDF7A1 #A1F7F6 #CBA1F7 #F7A1A2
square
#CDF7A1 #A1F7F6 #CBA1F7 #F7A1A2
split-complementary
#CDF7A1 #A1A2F7 #F6A1F7
monochromatic
#91ED30 #AFF269 #CDF7A1 #EBFCD9 #F0FDE3

Accessibility & contrast

On white

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

On black

17.41
#CDF7A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF7A1
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF7A1#FFFFFF#000000##000000
##CDF7A11.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC9B
Deuteranopia (green-blind)
#F9E9A5
Tritanopia (blue-blind)
#D0F0E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf7a1;
/* rgb */ color: rgb(205, 247, 161);
/* oklch */ color: oklch(92.6% 0.119 129.6);
Tailwind
colors: {
  custom: {
    50: '#ddfabd',
    500: '#cdf7a1',
    950: '#000000',
  },
}
SCSS
$custom: #cdf7a1;
$custom-light: #ddfabd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf7a1",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 161
  },
  "hsl": {
    "h": 89.302,
    "s": 84.314,
    "l": 80
  },
  "oklch": {
    "l": 0.92645,
    "c": 0.11935,
    "h": 129.6
  },
  "luminance": 0.82074
}

Semantic roles & 50–950 ramp

primary
#CDF7A1
secondary
#9D65D7
accent
#05E170
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #CDF7A1

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

Preview Lab → · Contrast checker → · Palette generator →

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