#CDF982#CDF982

#CDF982 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.154 H 126.0°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#CDF982
RGBrgb(205, 249, 130)
HSLhsl(82, 91%, 74%)
HSVhsv(82, 48%, 98%)
CMYKcmyk(17.7%, 0%, 47.8%, 2.4%)
CIE-LABlab(92.73, -32.51, 52.19)
CIE-LCHlch(92.73, 61.49, 121.91°)
OKLaboklab(92.6% -0.0907 0.125)
OKLCHoklch(92.6% 0.154 126)
XYZxyz(63.0816, 82.3416, 33.6849)
Luminance0.8234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF982 #AE82F9
analogous
#F9EA82 #CDF982 #92F982
triadic
#CDF982 #82CDF9 #F982CD
tetradic
#CDF982 #82F9EA #AE82F9 #F98292
square
#CDF982 #82F9EA #AE82F9 #F98292
split-complementary
#CDF982 #8292F9 #EA82F9
monochromatic
#9EF30D #B6F648 #CDF982 #E4FCBC #F3FEE2

Accessibility & contrast

On white

1.20
#CDF982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#CDF982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF982
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF982#FFFFFF#000000##000000
##CDF9821.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC78
Deuteranopia (green-blind)
#FEE989
Tritanopia (blue-blind)
#D3EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf982;
/* rgb */ color: rgb(205, 249, 130);
/* oklch */ color: oklch(92.6% 0.154 126.0);
Tailwind
colors: {
  custom: {
    50: '#defba9',
    500: '#cdf982',
    950: '#000000',
  },
}
SCSS
$custom: #cdf982;
$custom-light: #defba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf982",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 130
  },
  "hsl": {
    "h": 82.185,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92602,
    "c": 0.1544,
    "h": 126
  },
  "luminance": 0.82342
}

Semantic roles & 50–950 ramp

primary
#CDF982
secondary
#7D49D6
accent
#00E655
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF982

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

Preview Lab → · Contrast checker → · Palette generator →

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