#CDE040#CDE040

#CDE040 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.5% C 0.177 H 116.2°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#CDE040
RGBrgb(205, 224, 64)
HSLhsl(67, 72%, 56%)
HSVhsv(67, 71%, 88%)
CMYKcmyk(8.5%, 0%, 71.4%, 12.2%)
CIE-LABlab(85.33, -25.86, 71.56)
CIE-LCHlch(85.33, 76.09, 109.87°)
OKLaboklab(86.47% -0.078 0.1588)
OKLCHoklch(86.47% 0.177 116.2)
XYZxyz(52.7592, 66.6614, 14.9371)
Luminance0.6666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE040 #5340E0
analogous
#E0A340 #CDE040 #7DE040
triadic
#CDE040 #40CDE0 #E040CD
tetradic
#CDE040 #40E0A3 #5340E0 #E0407D
square
#CDE040 #40E0A3 #5340E0 #E0407D
split-complementary
#CDE040 #407DE0 #A340E0
monochromatic
#808E17 #B0C320 #CDE040 #DBE975 #E9F1A9

Accessibility & contrast

On white

1.47
#CDE040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#CDE040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE040
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE040#FFFFFF#000000##000000
##CDE0401.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD422
Deuteranopia (green-blind)
#EED64D
Tritanopia (blue-blind)
#DAD3C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cde040;
/* rgb */ color: rgb(205, 224, 64);
/* oklch */ color: oklch(86.5% 0.177 116.2);
Tailwind
colors: {
  custom: {
    50: '#e0e97f',
    500: '#cde040',
    950: '#000000',
  },
}
SCSS
$custom: #cde040;
$custom-light: #e0e97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cde040",
  "rgb": {
    "r": 205,
    "g": 224,
    "b": 64
  },
  "hsl": {
    "h": 67.125,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8647,
    "c": 0.17692,
    "h": 116.2
  },
  "luminance": 0.66661
}

Semantic roles & 50–950 ramp

primary
#CDE040
secondary
#3C3194
accent
#39EF4F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CDE040

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

Preview Lab → · Contrast checker → · Palette generator →

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