#CDF870#CDF870

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

Color values

HEX#CDF870
RGBrgb(205, 248, 112)
HSLhsl(79, 91%, 71%)
HSVhsv(79, 55%, 97%)
CMYKcmyk(17.3%, 0%, 54.8%, 2.7%)
CIE-LABlab(92.26, -33.77, 59.82)
CIE-LCHlch(92.26, 68.70, 119.44°)
OKLaboklab(92.16% -0.0957 0.1402)
OKLCHoklch(92.16% 0.17 124.3)
XYZxyz(61.6691, 81.2833, 27.7664)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF870 #9B70F8
analogous
#F8DF70 #CDF870 #89F870
triadic
#CDF870 #70CDF8 #F870CD
tetradic
#CDF870 #70F8DF #9B70F8 #F87089
square
#CDF870 #70F8DF #9B70F8 #F87089
split-complementary
#CDF870 #7089F8 #DF70F8
monochromatic
#9EE30B #B9F536 #CDF870 #E1FBAA #F5FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF870#FFFFFF#000000##000000
##CDF8701.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)
#FFEA62
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#D5EDDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf870;
/* rgb */ color: rgb(205, 248, 112);
/* oklch */ color: oklch(92.2% 0.170 124.3);
Tailwind
colors: {
  custom: {
    50: '#dffa9d',
    500: '#cdf870',
    950: '#000000',
  },
}
SCSS
$custom: #cdf870;
$custom-light: #dffa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf870",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 78.971,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92162,
    "c": 0.16971,
    "h": 124.3
  },
  "luminance": 0.81284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDF870

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

Preview Lab → · Contrast checker → · Palette generator →

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