#CDDA42#CDDA42

#CDDA42 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.2% C 0.169 H 114.3°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#CDDA42
RGBrgb(205, 218, 66)
HSLhsl(65, 67%, 56%)
HSVhsv(65, 70%, 85%)
CMYKcmyk(6%, 0%, 69.7%, 14.5%)
CIE-LABlab(83.71, -22.88, 69.29)
CIE-LCHlch(83.71, 72.97, 108.27°)
OKLaboklab(85.17% -0.0695 0.1543)
OKLCHoklch(85.17% 0.169 114.3)
XYZxyz(51.2330, 63.5163, 14.7142)
Luminance0.6351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDA42 #4F42DA
analogous
#DA9B42 #CDDA42 #81DA42
triadic
#CDDA42 #42CDDA #DA42CD
tetradic
#CDDA42 #42DA9B #4F42DA #DA4281
square
#CDDA42 #42DA9B #4F42DA #DA4281
split-complementary
#CDDA42 #4281DA #9B42DA
monochromatic
#7E871A #AEBA24 #CDDA42 #DBE475 #E8EEA8

Accessibility & contrast

On white

1.53
#CDDA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#CDDA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDA42
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDA42#FFFFFF#000000##000000
##CDDA421.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF28
Deuteranopia (green-blind)
#E9D24E
Tritanopia (blue-blind)
#DACDBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdda42;
/* rgb */ color: rgb(205, 218, 66);
/* oklch */ color: oklch(85.2% 0.169 114.3);
Tailwind
colors: {
  custom: {
    50: '#e0e580',
    500: '#cdda42',
    950: '#000000',
  },
}
SCSS
$custom: #cdda42;
$custom-light: #e0e580;
$custom-dark: #000000;
JSON
{
  "hex": "#cdda42",
  "rgb": {
    "r": 205,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 65.132,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85174,
    "c": 0.16928,
    "h": 114.3
  },
  "luminance": 0.63515
}

Semantic roles & 50–950 ramp

primary
#CDDA42
secondary
#3B338D
accent
#3EEA4C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDDA42

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

Preview Lab → · Contrast checker → · Palette generator →

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