#CDF971#CDF971

#CDF971 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.4% C 0.170 H 124.6°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#CDF971
RGBrgb(205, 249, 113)
HSLhsl(79, 92%, 71%)
HSVhsv(79, 55%, 98%)
CMYKcmyk(17.7%, 0%, 54.6%, 2.4%)
CIE-LABlab(92.54, -34.14, 59.71)
CIE-LCHlch(92.54, 68.78, 119.76°)
OKLaboklab(92.39% -0.0966 0.14)
OKLCHoklch(92.39% 0.17 124.6)
XYZxyz(62.0333, 81.9223, 28.1640)
Luminance0.8192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF971 #9D71F9
analogous
#F9E171 #CDF971 #89F971
triadic
#CDF971 #71CDF9 #F971CD
tetradic
#CDF971 #71F9E1 #9D71F9 #F97189
square
#CDF971 #71F9E1 #9D71F9 #F97189
split-complementary
#CDF971 #7189F9 #E171F9
monochromatic
#9FE60A #B8F736 #CDF971 #E2FBAC #F5FEE2

Accessibility & contrast

On white

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

On black

17.38
#CDF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF971
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF971#FFFFFF#000000##000000
##CDF9711.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#D5EEDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf971;
/* rgb */ color: rgb(205, 249, 113);
/* oklch */ color: oklch(92.4% 0.170 124.6);
Tailwind
colors: {
  custom: {
    50: '#dffb9e',
    500: '#cdf971',
    950: '#000000',
  },
}
SCSS
$custom: #cdf971;
$custom-light: #dffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf971",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 79.412,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92393,
    "c": 0.17011,
    "h": 124.6
  },
  "luminance": 0.81923
}

Semantic roles & 50–950 ramp

primary
#CDF971
secondary
#6C3AD4
accent
#00E64A
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF971

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

Preview Lab → · Contrast checker → · Palette generator →

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