#CDF171#CDF171

#CDF171 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.6% C 0.160 H 122.7°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#CDF171
RGBrgb(205, 241, 113)
HSLhsl(77, 82%, 69%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(14.9%, 0%, 53.1%, 5.5%)
CIE-LABlab(90.36, -30.45, 57.18)
CIE-LCHlch(90.36, 64.78, 118.04°)
OKLaboklab(90.64% -0.0863 0.1346)
OKLCHoklch(90.64% 0.16 122.7)
XYZxyz(59.6131, 77.0818, 27.3573)
Luminance0.7708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF171 #9571F1
analogous
#F1D571 #CDF171 #8DF171
triadic
#CDF171 #71CDF1 #F171CD
tetradic
#CDF171 #71F1D5 #9571F1 #F1718D
square
#CDF171 #71F1D5 #9571F1 #F1718D
split-complementary
#CDF171 #718DF1 #D571F1
monochromatic
#9DD315 #B9EC39 #CDF171 #E1F6A9 #F4FCE0

Accessibility & contrast

On white

1.28
#CDF171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#CDF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF171
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF171#FFFFFF#000000##000000
##CDF1711.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#F9E379
Tritanopia (blue-blind)
#D6E7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf171;
/* rgb */ color: rgb(205, 241, 113);
/* oklch */ color: oklch(90.6% 0.160 122.7);
Tailwind
colors: {
  custom: {
    50: '#def59d',
    500: '#cdf171',
    950: '#000000',
  },
}
SCSS
$custom: #cdf171;
$custom-light: #def59d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf171",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 76.875,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90637,
    "c": 0.15985,
    "h": 122.7
  },
  "luminance": 0.77082
}

Semantic roles & 50–950 ramp

primary
#CDF171
secondary
#643CCA
accent
#07DE44
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF171

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

Preview Lab → · Contrast checker → · Palette generator →

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