#CDF871#CDF871

#CDF871 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.2% C 0.169 H 124.4°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#CDF871
RGBrgb(205, 248, 113)
HSLhsl(79, 91%, 71%)
HSVhsv(79, 54%, 97%)
CMYKcmyk(17.3%, 0%, 54.4%, 2.7%)
CIE-LABlab(92.27, -33.68, 59.39)
CIE-LCHlch(92.27, 68.28, 119.56°)
OKLaboklab(92.17% -0.0953 0.1393)
OKLCHoklch(92.17% 0.169 124.4)
XYZxyz(61.7250, 81.3057, 28.0613)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF871 #9C71F8
analogous
#F8DF71 #CDF871 #89F871
triadic
#CDF871 #71CDF8 #F871CD
tetradic
#CDF871 #71F8DF #9C71F8 #F87189
square
#CDF871 #71F8DF #9C71F8 #F87189
split-complementary
#CDF871 #7189F8 #DF71F8
monochromatic
#9FE30B #B8F537 #CDF871 #E2FBAB #F5FEE2

Accessibility & contrast

On white

1.22
#CDF871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#CDF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF871
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF871#FFFFFF#000000##000000
##CDF8711.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#D5EDDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf871;
/* rgb */ color: rgb(205, 248, 113);
/* oklch */ color: oklch(92.2% 0.169 124.4);
Tailwind
colors: {
  custom: {
    50: '#dffa9d',
    500: '#cdf871',
    950: '#000000',
  },
}
SCSS
$custom: #cdf871;
$custom-light: #dffa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf871",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 79.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92173,
    "c": 0.16883,
    "h": 124.4
  },
  "luminance": 0.81306
}

Semantic roles & 50–950 ramp

primary
#CDF871
secondary
#6B3AD3
accent
#00E649
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF871

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

Preview Lab → · Contrast checker → · Palette generator →

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