#CDF972#CDF972

#CDF972 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.4% C 0.169 H 124.7°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#CDF972
RGBrgb(205, 249, 114)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 54%, 98%)
CMYKcmyk(17.7%, 0%, 54.2%, 2.4%)
CIE-LABlab(92.55, -34.05, 59.28)
CIE-LCHlch(92.55, 68.36, 119.87°)
OKLaboklab(92.4% -0.0963 0.1392)
OKLCHoklch(92.4% 0.169 124.7)
XYZxyz(62.0899, 81.9449, 28.4622)
Luminance0.8195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF972 #9E72F9
analogous
#F9E272 #CDF972 #89F972
triadic
#CDF972 #72CDF9 #F972CD
tetradic
#CDF972 #72F9E2 #9E72F9 #F97289
square
#CDF972 #72F9E2 #9E72F9 #F97289
split-complementary
#CDF972 #7289F9 #E272F9
monochromatic
#9FE70A #B8F737 #CDF972 #E2FBAD #F5FEE2

Accessibility & contrast

On white

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

On black

17.39
#CDF972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF972
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF972#FFFFFF#000000##000000
##CDF9721.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#D5EEDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf972;
/* rgb */ color: rgb(205, 249, 114);
/* oklch */ color: oklch(92.4% 0.169 124.7);
Tailwind
colors: {
  custom: {
    50: '#dffb9e',
    500: '#cdf972',
    950: '#000000',
  },
}
SCSS
$custom: #cdf972;
$custom-light: #dffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf972",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 79.556,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92404,
    "c": 0.16924,
    "h": 124.7
  },
  "luminance": 0.81945
}

Semantic roles & 50–950 ramp

primary
#CDF972
secondary
#6D3BD4
accent
#00E64B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF972

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

Preview Lab → · Contrast checker → · Palette generator →

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