#CDF772#CDF772

#CDF772 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.0% C 0.167 H 124.2°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#CDF772
RGBrgb(205, 247, 114)
HSLhsl(79, 89%, 71%)
HSVhsv(79, 54%, 97%)
CMYKcmyk(17%, 0%, 53.8%, 3.1%)
CIE-LABlab(92.00, -33.13, 58.64)
CIE-LCHlch(92.00, 67.36, 119.47°)
OKLaboklab(91.97% -0.0937 0.1378)
OKLCHoklch(91.97% 0.167 124.2)
XYZxyz(61.4750, 80.7152, 28.2572)
Luminance0.8072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF772 #9C72F7
analogous
#F7DE72 #CDF772 #8AF772
triadic
#CDF772 #72CDF7 #F772CD
tetradic
#CDF772 #72F7DE #9C72F7 #F7728A
square
#CDF772 #72F7DE #9C72F7 #F7728A
split-complementary
#CDF772 #728AF7 #DE72F7
monochromatic
#9FE20D #B8F438 #CDF772 #E2FAAC #F5FDE2

Accessibility & contrast

On white

1.22
#CDF772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#CDF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF772
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF772#FFFFFF#000000##000000
##CDF7721.001.2217.1417.14
#FFFFFF1.221.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FDE87A
Tritanopia (blue-blind)
#D5ECD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cdf772;
/* rgb */ color: rgb(205, 247, 114);
/* oklch */ color: oklch(92.0% 0.167 124.2);
Tailwind
colors: {
  custom: {
    50: '#dffa9e',
    500: '#cdf772',
    950: '#000000',
  },
}
SCSS
$custom: #cdf772;
$custom-light: #dffa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf772",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 78.947,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91965,
    "c": 0.16666,
    "h": 124.2
  },
  "luminance": 0.80716
}

Semantic roles & 50–950 ramp

primary
#CDF772
secondary
#6B3BD2
accent
#00E648
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF772

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

Preview Lab → · Contrast checker → · Palette generator →

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