#CDF97C#CDF97C

#CDF97C is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.5% C 0.160 H 125.4°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#CDF97C
RGBrgb(205, 249, 124)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 50%, 98%)
CMYKcmyk(17.7%, 0%, 50.2%, 2.4%)
CIE-LABlab(92.66, -33.11, 54.89)
CIE-LCHlch(92.66, 64.10, 121.10°)
OKLaboklab(92.52% -0.0928 0.1305)
OKLCHoklch(92.52% 0.16 125.4)
XYZxyz(62.6905, 82.1852, 31.6254)
Luminance0.8219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF97C #A87CF9
analogous
#F9E67C #CDF97C #8EF97C
triadic
#CDF97C #7CCDF9 #F97CCD
tetradic
#CDF97C #7CF9E6 #A87CF9 #F97C8E
square
#CDF97C #7CF9E6 #A87CF9 #F97C8E
split-complementary
#CDF97C #7C8EF9 #E67CF9
monochromatic
#9FF00B #B7F641 #CDF97C #E3FCB7 #F4FEE2

Accessibility & contrast

On white

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

On black

17.44
#CDF97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF97C
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF97C#FFFFFF#000000##000000
##CDF97C1.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#D4EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf97c;
/* rgb */ color: rgb(205, 249, 124);
/* oklch */ color: oklch(92.5% 0.160 125.4);
Tailwind
colors: {
  custom: {
    50: '#defba5',
    500: '#cdf97c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf97c;
$custom-light: #defba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf97c",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 81.12,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92524,
    "c": 0.16013,
    "h": 125.4
  },
  "luminance": 0.82186
}

Semantic roles & 50–950 ramp

primary
#CDF97C
secondary
#7744D6
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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