#CDFB97#CDFB97

#CDFB97 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.3% C 0.136 H 128.9°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#CDFB97
RGBrgb(205, 251, 151)
HSLhsl(88, 93%, 79%)
HSVhsv(88, 40%, 98%)
CMYKcmyk(18.3%, 0%, 39.8%, 1.6%)
CIE-LABlab(93.54, -31.06, 43.17)
CIE-LCHlch(93.54, 53.18, 125.73°)
OKLaboklab(93.35% -0.0853 0.1058)
OKLCHoklch(93.35% 0.136 128.9)
XYZxyz(65.2591, 84.2069, 42.0876)
Luminance0.8421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFB97 #C597FB
analogous
#FBF797 #CDFB97 #9BFB97
triadic
#CDFB97 #97CDFB #FB97CD
tetradic
#CDFB97 #97FBF7 #C597FB #FB979B
square
#CDFB97 #97FBF7 #C597FB #FB979B
split-complementary
#CDFB97 #979BFB #F797FB
monochromatic
#94F621 #B1F95C #CDFB97 #E9FDD2 #F1FEE2

Accessibility & contrast

On white

1.18
#CDFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#CDFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFB97
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFB97#FFFFFF#000000##000000
##CDFB971.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FDEB9C
Tritanopia (blue-blind)
#D1F3E2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cdfb97;
/* rgb */ color: rgb(205, 251, 151);
/* oklch */ color: oklch(93.3% 0.136 128.9);
Tailwind
colors: {
  custom: {
    50: '#ddfcb7',
    500: '#cdfb97',
    950: '#000000',
  },
}
SCSS
$custom: #cdfb97;
$custom-light: #ddfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfb97",
  "rgb": {
    "r": 205,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 87.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93346,
    "c": 0.13591,
    "h": 128.9
  },
  "luminance": 0.84208
}

Semantic roles & 50–950 ramp

primary
#CDFB97
secondary
#965ADC
accent
#00E66A
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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