#CDE342#CDE342

#CDE342 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.1% C 0.179 H 117.1°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#CDE342
RGBrgb(205, 227, 66)
HSLhsl(68, 74%, 57%)
HSVhsv(68, 71%, 89%)
CMYKcmyk(9.7%, 0%, 70.9%, 11%)
CIE-LABlab(86.16, -27.18, 71.68)
CIE-LCHlch(86.16, 76.66, 110.77°)
OKLaboklab(87.14% -0.0815 0.1594)
OKLCHoklch(87.14% 0.179 117.1)
XYZxyz(53.6306, 68.3113, 15.5134)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE342 #5842E3
analogous
#E3A942 #CDE342 #7CE342
triadic
#CDE342 #42CDE3 #E342CD
tetradic
#CDE342 #42E3A9 #5842E3 #E3427C
square
#CDE342 #42E3A9 #5842E3 #E3427C
split-complementary
#CDE342 #427CE3 #A942E3
monochromatic
#839516 #B2CA1E #CDE342 #DBEB77 #E9F3AD

Accessibility & contrast

On white

1.43
#CDE342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#CDE342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE342
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE342#FFFFFF#000000##000000
##CDE3421.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D724
Deuteranopia (green-blind)
#F0D84F
Tritanopia (blue-blind)
#DAD6C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cde342;
/* rgb */ color: rgb(205, 227, 66);
/* oklch */ color: oklch(87.1% 0.179 117.1);
Tailwind
colors: {
  custom: {
    50: '#e0eb81',
    500: '#cde342',
    950: '#000000',
  },
}
SCSS
$custom: #cde342;
$custom-light: #e0eb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cde342",
  "rgb": {
    "r": 205,
    "g": 227,
    "b": 66
  },
  "hsl": {
    "h": 68.199,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.87139,
    "c": 0.179,
    "h": 117.1
  },
  "luminance": 0.68311
}

Semantic roles & 50–950 ramp

primary
#CDE342
secondary
#3F3099
accent
#37F150
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CDE342

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

Preview Lab → · Contrast checker → · Palette generator →

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