#CDF85C#CDF85C

#CDF85C is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.0% C 0.186 H 123.2°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#CDF85C
RGBrgb(205, 248, 92)
HSLhsl(77, 92%, 67%)
HSVhsv(77, 63%, 97%)
CMYKcmyk(17.3%, 0%, 62.9%, 2.7%)
CIE-LABlab(92.08, -35.34, 68.04)
CIE-LCHlch(92.08, 76.67, 117.45°)
OKLaboklab(91.96% -0.1018 0.1555)
OKLCHoklch(91.96% 0.186 123.2)
XYZxyz(60.6765, 80.8863, 22.5392)
Luminance0.8089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF85C #875CF8
analogous
#F8D55C #CDF85C #7FF85C
triadic
#CDF85C #5CCDF8 #F85CCD
tetradic
#CDF85C #5CF8D5 #875CF8 #F85C7F
square
#CDF85C #5CF8D5 #875CF8 #F85C7F
split-complementary
#CDF85C #5C7FF8 #D55CF8
monochromatic
#9AD109 #BBF521 #CDF85C #DFFB97 #F1FDD1

Accessibility & contrast

On white

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

On black

17.18
#CDF85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF85C
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF85C#FFFFFF#000000##000000
##CDF85C1.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE948
Deuteranopia (green-blind)
#FFE867
Tritanopia (blue-blind)
#D6ECD8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cdf85c;
/* rgb */ color: rgb(205, 248, 92);
/* oklch */ color: oklch(92.0% 0.186 123.2);
Tailwind
colors: {
  custom: {
    50: '#dffa91',
    500: '#cdf85c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf85c;
$custom-light: #dffa91;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf85c",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 92
  },
  "hsl": {
    "h": 76.538,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91963,
    "c": 0.18583,
    "h": 123.2
  },
  "luminance": 0.80887
}

Semantic roles & 50–950 ramp

primary
#CDF85C
secondary
#582CCC
accent
#00E63F
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF85C

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

Preview Lab → · Contrast checker → · Palette generator →

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