#CDF86C#CDF86C

#CDF86C is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.1% C 0.173 H 124.1°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#CDF86C
RGBrgb(205, 248, 108)
HSLhsl(78, 91%, 70%)
HSVhsv(78, 56%, 97%)
CMYKcmyk(17.3%, 0%, 56.5%, 2.7%)
CIE-LABlab(92.22, -34.11, 61.53)
CIE-LCHlch(92.22, 70.35, 119.01°)
OKLaboklab(92.12% -0.097 0.1435)
OKLCHoklch(92.12% 0.173 124.1)
XYZxyz(61.4513, 81.1962, 26.6194)
Luminance0.8120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF86C #976CF8
analogous
#F8DD6C #CDF86C #87F86C
triadic
#CDF86C #6CCDF8 #F86CCD
tetradic
#CDF86C #6CF8DD #976CF8 #F86C87
square
#CDF86C #6CF8DD #976CF8 #F86C87
split-complementary
#CDF86C #6C87F8 #DD6CF8
monochromatic
#9EDF0B #B9F532 #CDF86C #E1FBA6 #F5FEE1

Accessibility & contrast

On white

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

On black

17.24
#CDF86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF86C
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF86C#FFFFFF#000000##000000
##CDF86C1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5D
Deuteranopia (green-blind)
#FFE875
Tritanopia (blue-blind)
#D5EDD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf86c;
/* rgb */ color: rgb(205, 248, 108);
/* oklch */ color: oklch(92.1% 0.173 124.1);
Tailwind
colors: {
  custom: {
    50: '#dffa9a',
    500: '#cdf86c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf86c;
$custom-light: #dffa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf86c",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 78.429,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92118,
    "c": 0.17314,
    "h": 124.1
  },
  "luminance": 0.81197
}

Semantic roles & 50–950 ramp

primary
#CDF86C
secondary
#6636D2
accent
#00E646
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CDF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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