#CDF781#CDF781

#CDF781 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.2% C 0.153 H 125.4°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#CDF781
RGBrgb(205, 247, 129)
HSLhsl(81, 88%, 74%)
HSVhsv(81, 48%, 97%)
CMYKcmyk(17%, 0%, 47.8%, 3.1%)
CIE-LABlab(92.17, -31.69, 51.98)
CIE-LCHlch(92.17, 60.88, 121.36°)
OKLaboklab(92.15% -0.0885 0.1244)
OKLCHoklch(92.15% 0.153 125.4)
XYZxyz(62.3999, 81.0851, 33.1282)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF781 #AB81F7
analogous
#F7E681 #CDF781 #92F781
triadic
#CDF781 #81CDF7 #F781CD
tetradic
#CDF781 #81F7E6 #AB81F7 #F78192
square
#CDF781 #81F7E6 #AB81F7 #F78192
split-complementary
#CDF781 #8192F7 #E681F7
monochromatic
#9FEE0F #B6F347 #CDF781 #E4FBBB #F4FDE2

Accessibility & contrast

On white

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

On black

17.22
#CDF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF781
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF781#FFFFFF#000000##000000
##CDF7811.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FCE888
Tritanopia (blue-blind)
#D4EDDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cdf781;
/* rgb */ color: rgb(205, 247, 129);
/* oklch */ color: oklch(92.2% 0.153 125.4);
Tailwind
colors: {
  custom: {
    50: '#defaa8',
    500: '#cdf781',
    950: '#000000',
  },
}
SCSS
$custom: #cdf781;
$custom-light: #defaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf781",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 81.356,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92151,
    "c": 0.15268,
    "h": 125.4
  },
  "luminance": 0.81086
}

Semantic roles & 50–950 ramp

primary
#CDF781
secondary
#7A49D4
accent
#01E552
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF781

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

Preview Lab → · Contrast checker → · Palette generator →

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