#CDF997#CDF997

#CDF997 is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 92.9% C 0.133 H 128.5°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#CDF997
RGBrgb(205, 249, 151)
HSLhsl(87, 89%, 78%)
HSVhsv(87, 39%, 98%)
CMYKcmyk(17.7%, 0%, 39.4%, 2.4%)
CIE-LABlab(93.00, -30.13, 42.48)
CIE-LCHlch(93.00, 52.08, 125.34°)
OKLaboklab(92.91% -0.0827 0.1042)
OKLCHoklch(92.91% 0.133 128.5)
XYZxyz(64.6377, 82.9640, 41.8804)
Luminance0.8296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF997 #C397F9
analogous
#F9F497 #CDF997 #9CF997
triadic
#CDF997 #97CDF9 #F997CD
tetradic
#CDF997 #97F9F4 #C397F9 #F9979C
square
#CDF997 #97F9F4 #C397F9 #F9979C
split-complementary
#CDF997 #979CF9 #F497F9
monochromatic
#95F223 #B1F65D #CDF997 #E9FCD1 #F1FDE2

Accessibility & contrast

On white

1.19
#CDF997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#CDF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF997
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF997#FFFFFF#000000##000000
##CDF9971.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FBEA9C
Tritanopia (blue-blind)
#D1F1E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cdf997;
/* rgb */ color: rgb(205, 249, 151);
/* oklch */ color: oklch(92.9% 0.133 128.5);
Tailwind
colors: {
  custom: {
    50: '#ddfbb7',
    500: '#cdf997',
    950: '#000000',
  },
}
SCSS
$custom: #cdf997;
$custom-light: #ddfbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf997",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 86.939,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.9291,
    "c": 0.13304,
    "h": 128.5
  },
  "luminance": 0.82965
}

Semantic roles & 50–950 ramp

primary
#CDF997
secondary
#945BD9
accent
#00E667
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF997

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

Preview Lab → · Contrast checker → · Palette generator →

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