#CDE257#CDE257

#CDE257 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.1% C 0.163 H 117.2°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#CDE257
RGBrgb(205, 226, 87)
HSLhsl(69, 71%, 61%)
HSVhsv(69, 62%, 89%)
CMYKcmyk(9.3%, 0%, 61.5%, 11.4%)
CIE-LABlab(86.04, -25.46, 63.57)
CIE-LCHlch(86.04, 68.48, 111.82°)
OKLaboklab(87.09% -0.0747 0.1454)
OKLCHoklch(87.09% 0.163 117.2)
XYZxyz(54.0945, 68.0605, 19.3023)
Luminance0.6806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE257 #6C57E2
analogous
#E2B257 #CDE257 #88E257
triadic
#CDE257 #57CDE2 #E257CD
tetradic
#CDE257 #57E2B2 #6C57E2 #E25788
square
#CDE257 #57E2B2 #6C57E2 #E25788
split-complementary
#CDE257 #5788E2 #B257E2
monochromatic
#8EA31C #BCD725 #CDE257 #DDEB8B #ECF4BF

Accessibility & contrast

On white

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

On black

14.61
#CDE257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE257
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE257#FFFFFF#000000##000000
##CDE2571.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D746
Deuteranopia (green-blind)
#EED860
Tritanopia (blue-blind)
#D9D6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cde257;
/* rgb */ color: rgb(205, 226, 87);
/* oklch */ color: oklch(87.1% 0.163 117.2);
Tailwind
colors: {
  custom: {
    50: '#dfeb8c',
    500: '#cde257',
    950: '#000000',
  },
}
SCSS
$custom: #cde257;
$custom-light: #dfeb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cde257",
  "rgb": {
    "r": 205,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 69.065,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87086,
    "c": 0.16346,
    "h": 117.2
  },
  "luminance": 0.6806
}

Semantic roles & 50–950 ramp

primary
#CDE257
secondary
#4838A5
accent
#13D330
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CDE257

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

Preview Lab → · Contrast checker → · Palette generator →

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