#CDE151#CDE151

#CDE151 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 86.8% C 0.167 H 116.8°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#CDE151
RGBrgb(205, 225, 81)
HSLhsl(68, 71%, 60%)
HSVhsv(68, 64%, 88%)
CMYKcmyk(8.9%, 0%, 64%, 11.8%)
CIE-LABlab(85.72, -25.38, 65.66)
CIE-LCHlch(85.72, 70.40, 111.13°)
OKLaboklab(86.82% -0.0751 0.149)
OKLCHoklch(86.82% 0.167 116.8)
XYZxyz(53.5884, 67.4243, 17.9742)
Luminance0.6742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE151 #6551E1
analogous
#E1AD51 #CDE151 #85E151
triadic
#CDE151 #51CDE1 #E151CD
tetradic
#CDE151 #51E1AD #6551E1 #E15185
square
#CDE151 #51E1AD #6551E1 #E15185
split-complementary
#CDE151 #5185E1 #AD51E1
monochromatic
#8B9D1B #B9D124 #CDE151 #DCEA85 #EBF3B9

Accessibility & contrast

On white

1.45
#CDE151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#CDE151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE151
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE151#FFFFFF#000000##000000
##CDE1511.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#D9D5C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cde151;
/* rgb */ color: rgb(205, 225, 81);
/* oklch */ color: oklch(86.8% 0.167 116.8);
Tailwind
colors: {
  custom: {
    50: '#dfea89',
    500: '#cde151',
    950: '#000000',
  },
}
SCSS
$custom: #cde151;
$custom-light: #dfea89;
$custom-dark: #000000;
JSON
{
  "hex": "#cde151",
  "rgb": {
    "r": 205,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 68.333,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.86815,
    "c": 0.16684,
    "h": 116.8
  },
  "luminance": 0.67424
}

Semantic roles & 50–950 ramp

primary
#CDE151
secondary
#4536A0
accent
#3AED53
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CDE151

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

Preview Lab → · Contrast checker → · Palette generator →

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