#CDE252#CDE252

#CDE252 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.0% C 0.167 H 117.1°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#CDE252
RGBrgb(205, 226, 82)
HSLhsl(69, 71%, 60%)
HSVhsv(69, 64%, 89%)
CMYKcmyk(9.3%, 0%, 63.7%, 11.4%)
CIE-LABlab(86.00, -25.79, 65.56)
CIE-LCHlch(86.00, 70.45, 111.47°)
OKLaboklab(87.04% -0.0761 0.1489)
OKLCHoklch(87.04% 0.167 117.1)
XYZxyz(53.8973, 67.9816, 18.2635)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE252 #6752E2
analogous
#E2AF52 #CDE252 #85E252
triadic
#CDE252 #52CDE2 #E252CD
tetradic
#CDE252 #52E2AF #6752E2 #E25285
square
#CDE252 #52E2AF #6752E2 #E25285
split-complementary
#CDE252 #5285E2 #AF52E2
monochromatic
#8C9F1B #BAD323 #CDE252 #DCEB86 #EBF4BB

Accessibility & contrast

On white

1.44
#CDE252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#CDE252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE252
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE252#FFFFFF#000000##000000
##CDE2521.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#EFD85C
Tritanopia (blue-blind)
#D9D6C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cde252;
/* rgb */ color: rgb(205, 226, 82);
/* oklch */ color: oklch(87.0% 0.167 117.1);
Tailwind
colors: {
  custom: {
    50: '#dfeb89',
    500: '#cde252',
    950: '#000000',
  },
}
SCSS
$custom: #cde252;
$custom-light: #dfeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cde252",
  "rgb": {
    "r": 205,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 68.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87042,
    "c": 0.16724,
    "h": 117.1
  },
  "luminance": 0.67981
}

Semantic roles & 50–950 ramp

primary
#CDE252
secondary
#4636A2
accent
#12D32E
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CDE252

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

Preview Lab → · Contrast checker → · Palette generator →

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