#CDF662#CDF662

#CDF662 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.6% C 0.179 H 123.1°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#CDF662
RGBrgb(205, 246, 98)
HSLhsl(77, 89%, 67%)
HSVhsv(77, 60%, 96%)
CMYKcmyk(16.7%, 0%, 60.2%, 3.5%)
CIE-LABlab(91.58, -34.00, 65.06)
CIE-LCHlch(91.58, 73.41, 117.59°)
OKLaboklab(91.58% -0.0975 0.1499)
OKLCHoklch(91.58% 0.179 123.1)
XYZxyz(60.3377, 79.7723, 23.7717)
Luminance0.7977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF662 #8B62F6
analogous
#F6D562 #CDF662 #83F662
triadic
#CDF662 #62CDF6 #F662CD
tetradic
#CDF662 #62F6D5 #8B62F6 #F66283
square
#CDF662 #62F6D5 #8B62F6 #F66283
split-complementary
#CDF662 #6283F6 #D562F6
monochromatic
#9BD20C #BBF328 #CDF662 #DFF99C #F2FDD6

Accessibility & contrast

On white

1.24
#CDF662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#CDF662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF662
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF662#FFFFFF#000000##000000
##CDF6621.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FEE76C
Tritanopia (blue-blind)
#D6EBD7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cdf662;
/* rgb */ color: rgb(205, 246, 98);
/* oklch */ color: oklch(91.6% 0.179 123.1);
Tailwind
colors: {
  custom: {
    50: '#dff994',
    500: '#cdf662',
    950: '#000000',
  },
}
SCSS
$custom: #cdf662;
$custom-light: #dff994;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf662",
  "rgb": {
    "r": 205,
    "g": 246,
    "b": 98
  },
  "hsl": {
    "h": 76.622,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91576,
    "c": 0.17883,
    "h": 123.1
  },
  "luminance": 0.79773
}

Semantic roles & 50–950 ramp

primary
#CDF662
secondary
#5B2FCD
accent
#00E640
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #CDF662

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

Preview Lab → · Contrast checker → · Palette generator →

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