#CDD045#CDD045

#CDD045 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.0% C 0.157 H 110.6°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#CDD045
RGBrgb(205, 208, 69)
HSLhsl(61, 60%, 54%)
HSVhsv(61, 67%, 82%)
CMYKcmyk(1.4%, 0%, 66.8%, 18.4%)
CIE-LABlab(81.03, -17.83, 65.50)
CIE-LCHlch(81.03, 67.88, 105.23°)
OKLaboklab(83.03% -0.0551 0.1468)
OKLCHoklch(83.03% 0.157 110.6)
XYZxyz(48.8085, 58.5218, 14.3538)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD045 #4845D0
analogous
#D08E45 #CDD045 #88D045
triadic
#CDD045 #45CDD0 #D045CD
tetradic
#CDD045 #45D08E #4845D0 #D04588
square
#CDD045 #45D08E #4845D0 #D04588
split-complementary
#CDD045 #4588D0 #8E45D0
monochromatic
#797B1F #A9AC2C #CDD045 #DADC76 #E7E9A7

Accessibility & contrast

On white

1.65
#CDD045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#CDD045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD045
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD045#FFFFFF#000000##000000
##CDD0451.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C730
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#DBC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdd045;
/* rgb */ color: rgb(205, 208, 69);
/* oklch */ color: oklch(83.0% 0.157 110.6);
Tailwind
colors: {
  custom: {
    50: '#e0de80',
    500: '#cdd045',
    950: '#000000',
  },
}
SCSS
$custom: #cdd045;
$custom-light: #e0de80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd045",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 61.295,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83031,
    "c": 0.15685,
    "h": 110.6
  },
  "luminance": 0.58521
}

Semantic roles & 50–950 ramp

primary
#CDD045
secondary
#383683
accent
#45E348
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD045

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

Preview Lab → · Contrast checker → · Palette generator →

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