#CDD945#CDD945

#CDD945 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.0% C 0.166 H 113.9°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CDD945
RGBrgb(205, 217, 69)
HSLhsl(65, 66%, 56%)
HSVhsv(65, 68%, 85%)
CMYKcmyk(5.5%, 0%, 68.2%, 14.9%)
CIE-LABlab(83.46, -22.24, 67.95)
CIE-LCHlch(83.46, 71.49, 108.12°)
OKLaboklab(84.98% -0.0675 0.152)
OKLCHoklch(84.98% 0.166 113.9)
XYZxyz(51.0653, 63.0355, 15.1061)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD945 #5145D9
analogous
#D99B45 #CDD945 #83D945
triadic
#CDD945 #45CDD9 #D945CD
tetradic
#CDD945 #45D99B #5145D9 #D94583
square
#CDD945 #45D99B #5145D9 #D94583
split-complementary
#CDD945 #4583D9 #9B45D9
monochromatic
#7F881C #AFBB26 #CDD945 #DBE378 #E8EEAB

Accessibility & contrast

On white

1.54
#CDD945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#CDD945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD945
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD945#FFFFFF#000000##000000
##CDD9451.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2E
Deuteranopia (green-blind)
#E8D150
Tritanopia (blue-blind)
#DACCBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd945;
/* rgb */ color: rgb(205, 217, 69);
/* oklch */ color: oklch(85.0% 0.166 113.9);
Tailwind
colors: {
  custom: {
    50: '#e0e481',
    500: '#cdd945',
    950: '#000000',
  },
}
SCSS
$custom: #cdd945;
$custom-light: #e0e481;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd945",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 64.865,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84978,
    "c": 0.1663,
    "h": 113.9
  },
  "luminance": 0.63035
}

Semantic roles & 50–950 ramp

primary
#CDD945
secondary
#3B348E
accent
#3FE94D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD945

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

Preview Lab → · Contrast checker → · Palette generator →

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