#CDF97A#CDF97A

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

Color values

HEX#CDF97A
RGBrgb(205, 249, 122)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 51%, 98%)
CMYKcmyk(17.7%, 0%, 51%, 2.4%)
CIE-LABlab(92.63, -33.31, 55.78)
CIE-LCHlch(92.63, 64.96, 120.84°)
OKLaboklab(92.5% -0.0935 0.1323)
OKLCHoklch(92.5% 0.162 125.3)
XYZxyz(62.5653, 82.1351, 30.9661)
Luminance0.8214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF97A #A67AF9
analogous
#F9E57A #CDF97A #8EF97A
triadic
#CDF97A #7ACDF9 #F97ACD
tetradic
#CDF97A #7AF9E5 #A67AF9 #F97A8E
square
#CDF97A #7AF9E5 #A67AF9 #F97A8E
split-complementary
#CDF97A #7A8EF9 #E57AF9
monochromatic
#9FEE0B #B7F63F #CDF97A #E3FCB5 #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF97A#FFFFFF#000000##000000
##CDF97A1.001.2117.4317.43
#FFFFFF1.211.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf97a;
/* rgb */ color: rgb(205, 249, 122);
/* oklch */ color: oklch(92.5% 0.162 125.3);
Tailwind
colors: {
  custom: {
    50: '#defba3',
    500: '#cdf97a',
    950: '#000000',
  },
}
SCSS
$custom: #cdf97a;
$custom-light: #defba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf97a",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 80.787,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92499,
    "c": 0.162,
    "h": 125.3
  },
  "luminance": 0.82136
}

Semantic roles & 50–950 ramp

primary
#CDF97A
secondary
#7542D5
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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