#CDF97B#CDF97B

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

Color values

HEX#CDF97B
RGBrgb(205, 249, 123)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 51%, 98%)
CMYKcmyk(17.7%, 0%, 50.6%, 2.4%)
CIE-LABlab(92.65, -33.21, 55.33)
CIE-LCHlch(92.65, 64.53, 120.97°)
OKLaboklab(92.51% -0.0932 0.1314)
OKLCHoklch(92.51% 0.161 125.3)
XYZxyz(62.6276, 82.1600, 31.2941)
Luminance0.8216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF97B #A77BF9
analogous
#F9E67B #CDF97B #8EF97B
triadic
#CDF97B #7BCDF9 #F97BCD
tetradic
#CDF97B #7BF9E6 #A77BF9 #F97B8E
square
#CDF97B #7BF9E6 #A77BF9 #F97B8E
split-complementary
#CDF97B #7B8EF9 #E67BF9
monochromatic
#9FEF0B #B7F640 #CDF97B #E3FCB6 #F4FEE2

Accessibility & contrast

On white

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

On black

17.43
#CDF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF97B
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF97B#FFFFFF#000000##000000
##CDF97B1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf97b;
/* rgb */ color: rgb(205, 249, 123);
/* oklch */ color: oklch(92.5% 0.161 125.3);
Tailwind
colors: {
  custom: {
    50: '#defba4',
    500: '#cdf97b',
    950: '#000000',
  },
}
SCSS
$custom: #cdf97b;
$custom-light: #defba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf97b",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 80.952,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92511,
    "c": 0.16107,
    "h": 125.3
  },
  "luminance": 0.82161
}

Semantic roles & 50–950 ramp

primary
#CDF97B
secondary
#7643D6
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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