#CDF170#CDF170

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

Color values

HEX#CDF170
RGBrgb(205, 241, 112)
HSLhsl(77, 82%, 69%)
HSVhsv(77, 54%, 95%)
CMYKcmyk(14.9%, 0%, 53.5%, 5.5%)
CIE-LABlab(90.35, -30.54, 57.61)
CIE-LCHlch(90.35, 65.21, 117.93°)
OKLaboklab(90.63% -0.0866 0.1354)
OKLCHoklch(90.63% 0.161 122.6)
XYZxyz(59.5571, 77.0594, 27.0624)
Luminance0.7706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF170 #9470F1
analogous
#F1D570 #CDF170 #8DF170
triadic
#CDF170 #70CDF1 #F170CD
tetradic
#CDF170 #70F1D5 #9470F1 #F1708D
square
#CDF170 #70F1D5 #9470F1 #F1708D
split-complementary
#CDF170 #708DF1 #D570F1
monochromatic
#9DD215 #BAEC38 #CDF170 #E0F6A8 #F4FCDF

Accessibility & contrast

On white

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

On black

16.41
#CDF170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF170
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF170#FFFFFF#000000##000000
##CDF1701.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE463
Deuteranopia (green-blind)
#F9E378
Tritanopia (blue-blind)
#D6E6D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf170;
/* rgb */ color: rgb(205, 241, 112);
/* oklch */ color: oklch(90.6% 0.161 122.6);
Tailwind
colors: {
  custom: {
    50: '#def59c',
    500: '#cdf170',
    950: '#000000',
  },
}
SCSS
$custom: #cdf170;
$custom-light: #def59c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf170",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 76.744,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90625,
    "c": 0.16075,
    "h": 122.6
  },
  "luminance": 0.7706
}

Semantic roles & 50–950 ramp

primary
#CDF170
secondary
#633BCA
accent
#07DF43
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CDF170

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

Preview Lab → · Contrast checker → · Palette generator →

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