#CDF978#CDF978

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

Color values

HEX#CDF978
RGBrgb(205, 249, 120)
HSLhsl(80, 91%, 72%)
HSVhsv(80, 52%, 98%)
CMYKcmyk(17.7%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.61, -33.50, 56.66)
CIE-LCHlch(92.61, 65.82, 120.59°)
OKLaboklab(92.48% -0.0942 0.134)
OKLCHoklch(92.48% 0.164 125.1)
XYZxyz(62.4427, 82.0860, 30.3201)
Luminance0.8209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF978 #A478F9
analogous
#F9E478 #CDF978 #8DF978
triadic
#CDF978 #78CDF9 #F978CD
tetradic
#CDF978 #78F9E4 #A478F9 #F9788D
square
#CDF978 #78F9E4 #A478F9 #F9788D
split-complementary
#CDF978 #788DF9 #E478F9
monochromatic
#9FEC0A #B7F63D #CDF978 #E3FCB3 #F4FEE2

Accessibility & contrast

On white

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

On black

17.42
#CDF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF978
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF978#FFFFFF#000000##000000
##CDF9781.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf978;
/* rgb */ color: rgb(205, 249, 120);
/* oklch */ color: oklch(92.5% 0.164 125.1);
Tailwind
colors: {
  custom: {
    50: '#defba2',
    500: '#cdf978',
    950: '#000000',
  },
}
SCSS
$custom: #cdf978;
$custom-light: #defba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf978",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 80.465,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92475,
    "c": 0.16384,
    "h": 125.1
  },
  "luminance": 0.82087
}

Semantic roles & 50–950 ramp

primary
#CDF978
secondary
#7340D5
accent
#00E64E
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF978

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

Preview Lab → · Contrast checker → · Palette generator →

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