#CDE052#CDE052

#CDE052 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 86.6% C 0.165 H 116.5°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#CDE052
RGBrgb(205, 224, 82)
HSLhsl(68, 70%, 60%)
HSVhsv(68, 63%, 88%)
CMYKcmyk(8.5%, 0%, 63.4%, 12.2%)
CIE-LABlab(85.45, -24.84, 64.98)
CIE-LCHlch(85.45, 69.57, 110.92°)
OKLaboklab(86.61% -0.0735 0.1477)
OKLCHoklch(86.61% 0.165 116.5)
XYZxyz(53.3566, 66.9003, 18.0833)
Luminance0.6690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE052 #6552E0
analogous
#E0AC52 #CDE052 #86E052
triadic
#CDE052 #52CDE0 #E052CD
tetradic
#CDE052 #52E0AC #6552E0 #E05286
square
#CDE052 #52E0AC #6552E0 #E05286
split-complementary
#CDE052 #5286E0 #AC52E0
monochromatic
#8B9C1C #B9D025 #CDE052 #DCE986 #EBF3BA

Accessibility & contrast

On white

1.46
#CDE052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#CDE052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE052
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE052#FFFFFF#000000##000000
##CDE0521.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD540
Deuteranopia (green-blind)
#EDD75C
Tritanopia (blue-blind)
#D9D4C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cde052;
/* rgb */ color: rgb(205, 224, 82);
/* oklch */ color: oklch(86.6% 0.165 116.5);
Tailwind
colors: {
  custom: {
    50: '#dfe989',
    500: '#cde052',
    950: '#000000',
  },
}
SCSS
$custom: #cde052;
$custom-light: #dfe989;
$custom-dark: #000000;
JSON
{
  "hex": "#cde052",
  "rgb": {
    "r": 205,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 68.028,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.86605,
    "c": 0.16496,
    "h": 116.5
  },
  "luminance": 0.669
}

Semantic roles & 50–950 ramp

primary
#CDE052
secondary
#45379F
accent
#3BEC53
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CDE052

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

Preview Lab → · Contrast checker → · Palette generator →

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