#CDF98F#CDF98F

#CDF98F is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.141 H 127.4°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#CDF98F
RGBrgb(205, 249, 143)
HSLhsl(85, 90%, 77%)
HSVhsv(85, 43%, 98%)
CMYKcmyk(17.7%, 0%, 42.6%, 2.4%)
CIE-LABlab(92.89, -31.08, 46.22)
CIE-LCHlch(92.89, 55.70, 123.92°)
OKLaboklab(92.79% -0.0858 0.1124)
OKLCHoklch(92.79% 0.141 127.4)
XYZxyz(64.0099, 82.7129, 38.5742)
Luminance0.8271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF98F #BB8FF9
analogous
#F9F08F #CDF98F #98F98F
triadic
#CDF98F #8FCDF9 #F98FCD
tetradic
#CDF98F #8FF9F0 #BB8FF9 #F98F98
square
#CDF98F #8FF9F0 #BB8FF9 #F98F98
split-complementary
#CDF98F #8F98F9 #F08FF9
monochromatic
#99F31B #B3F655 #CDF98F #E7FCC9 #F2FDE2

Accessibility & contrast

On white

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

On black

17.54
#CDF98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF98F
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF98F#FFFFFF#000000##000000
##CDF98F1.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC87
Deuteranopia (green-blind)
#FCEA95
Tritanopia (blue-blind)
#D2F0DF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cdf98f;
/* rgb */ color: rgb(205, 249, 143);
/* oklch */ color: oklch(92.8% 0.141 127.4);
Tailwind
colors: {
  custom: {
    50: '#defbb1',
    500: '#cdf98f',
    950: '#000000',
  },
}
SCSS
$custom: #cdf98f;
$custom-light: #defbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf98f",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 143
  },
  "hsl": {
    "h": 84.906,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92786,
    "c": 0.14139,
    "h": 127.4
  },
  "luminance": 0.82714
}

Semantic roles & 50–950 ramp

primary
#CDF98F
secondary
#8B54D8
accent
#00E65F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF98F

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

Preview Lab → · Contrast checker → · Palette generator →

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