#CDD845#CDD845

#CDD845 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.8% C 0.165 H 113.6°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#CDD845
RGBrgb(205, 216, 69)
HSLhsl(64, 65%, 56%)
HSVhsv(64, 68%, 85%)
CMYKcmyk(5.1%, 0%, 68.1%, 15.3%)
CIE-LABlab(83.19, -21.75, 67.68)
CIE-LCHlch(83.19, 71.09, 107.82°)
OKLaboklab(84.76% -0.0661 0.1514)
OKLCHoklch(84.76% 0.165 113.6)
XYZxyz(50.8083, 62.5216, 15.0204)
Luminance0.6252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD845 #5045D8
analogous
#D89945 #CDD845 #83D845
triadic
#CDD845 #45CDD8 #D845CD
tetradic
#CDD845 #45D899 #5045D8 #D84583
square
#CDD845 #45D899 #5045D8 #D84583
split-complementary
#CDD845 #4583D8 #9945D8
monochromatic
#7E861C #AEB927 #CDD845 #DBE378 #E8EDAA

Accessibility & contrast

On white

1.56
#CDD845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#CDD845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD845
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD845#FFFFFF#000000##000000
##CDD8451.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2E
Deuteranopia (green-blind)
#E7D150
Tritanopia (blue-blind)
#DACBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd845;
/* rgb */ color: rgb(205, 216, 69);
/* oklch */ color: oklch(84.8% 0.165 113.6);
Tailwind
colors: {
  custom: {
    50: '#e0e381',
    500: '#cdd845',
    950: '#000000',
  },
}
SCSS
$custom: #cdd845;
$custom-light: #e0e381;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd845",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 64.49,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84761,
    "c": 0.16523,
    "h": 113.6
  },
  "luminance": 0.62521
}

Semantic roles & 50–950 ramp

primary
#CDD845
secondary
#3B348D
accent
#40E84C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD845

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

Preview Lab → · Contrast checker → · Palette generator →

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