#CDDE42#CDDE42

#CDDE42 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.0% C 0.174 H 115.6°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#CDDE42
RGBrgb(205, 222, 66)
HSLhsl(67, 70%, 56%)
HSVhsv(67, 70%, 87%)
CMYKcmyk(7.7%, 0%, 70.3%, 12.9%)
CIE-LABlab(84.80, -24.80, 70.35)
CIE-LCHlch(84.80, 74.60, 109.42°)
OKLaboklab(86.05% -0.0749 0.1566)
OKLCHoklch(86.05% 0.174 115.6)
XYZxyz(52.2828, 65.6159, 15.0641)
Luminance0.6562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDE42 #5342DE
analogous
#DEA142 #CDDE42 #7FDE42
triadic
#CDDE42 #42CDDE #DE42CD
tetradic
#CDDE42 #42DEA1 #5342DE #DE427F
square
#CDDE42 #42DEA1 #5342DE #DE427F
split-complementary
#CDDE42 #427FDE #A142DE
monochromatic
#808D19 #B0C122 #CDDE42 #DBE776 #E9F0AA

Accessibility & contrast

On white

1.49
#CDDE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#CDDE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDE42
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDE42#FFFFFF#000000##000000
##CDDE421.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD326
Deuteranopia (green-blind)
#ECD54E
Tritanopia (blue-blind)
#DAD1C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cdde42;
/* rgb */ color: rgb(205, 222, 66);
/* oklch */ color: oklch(86.0% 0.174 115.6);
Tailwind
colors: {
  custom: {
    50: '#e0e880',
    500: '#cdde42',
    950: '#000000',
  },
}
SCSS
$custom: #cdde42;
$custom-light: #e0e880;
$custom-dark: #000000;
JSON
{
  "hex": "#cdde42",
  "rgb": {
    "r": 205,
    "g": 222,
    "b": 66
  },
  "hsl": {
    "h": 66.538,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.86046,
    "c": 0.17356,
    "h": 115.6
  },
  "luminance": 0.65615
}

Semantic roles & 50–950 ramp

primary
#CDDE42
secondary
#3C3292
accent
#3BED4E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CDDE42

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

Preview Lab → · Contrast checker → · Palette generator →

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