#CDF962#CDF962

#CDF962 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.2% C 0.182 H 123.7°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#CDF962
RGBrgb(205, 249, 98)
HSLhsl(77, 93%, 68%)
HSVhsv(77, 61%, 98%)
CMYKcmyk(17.7%, 0%, 60.6%, 2.4%)
CIE-LABlab(92.40, -35.36, 65.96)
CIE-LCHlch(92.40, 74.84, 118.20°)
OKLaboklab(92.24% -0.1013 0.1518)
OKLCHoklch(92.24% 0.183 123.7)
XYZxyz(61.2575, 81.6120, 24.0784)
Luminance0.8161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF962 #8E62F9
analogous
#F9D962 #CDF962 #82F962
triadic
#CDF962 #62CDF9 #F962CD
tetradic
#CDF962 #62F9D9 #8E62F9 #F96282
square
#CDF962 #62F9D9 #8E62F9 #F96282
split-complementary
#CDF962 #6282F9 #D962F9
monochromatic
#9CD808 #BAF727 #CDF962 #E0FB9D #F3FED8

Accessibility & contrast

On white

1.21
#CDF962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#CDF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF962
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF962#FFFFFF#000000##000000
##CDF9621.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFE96D
Tritanopia (blue-blind)
#D6EED9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf962;
/* rgb */ color: rgb(205, 249, 98);
/* oklch */ color: oklch(92.2% 0.182 123.7);
Tailwind
colors: {
  custom: {
    50: '#dffb94',
    500: '#cdf962',
    950: '#000000',
  },
}
SCSS
$custom: #cdf962;
$custom-light: #dffb94;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf962",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 77.483,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92238,
    "c": 0.1825,
    "h": 123.7
  },
  "luminance": 0.81612
}

Semantic roles & 50–950 ramp

primary
#CDF962
secondary
#5D2DD2
accent
#00E643
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #CDF962

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

Preview Lab → · Contrast checker → · Palette generator →

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