#CDD45A#CDD45A

#CDD45A is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.1% C 0.145 H 112.2°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#CDD45A
RGBrgb(205, 212, 90)
HSLhsl(63, 59%, 59%)
HSVhsv(63, 58%, 83%)
CMYKcmyk(3.3%, 0%, 57.5%, 16.9%)
CIE-LABlab(82.27, -18.45, 58.18)
CIE-LCHlch(82.27, 61.04, 107.59°)
OKLaboklab(84.08% -0.0547 0.1343)
OKLCHoklch(84.08% 0.145 112.2)
XYZxyz(50.5670, 60.8053, 18.7437)
Luminance0.6080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD45A #615AD4
analogous
#D49E5A #CDD45A #90D45A
triadic
#CDD45A #5ACDD4 #D45ACD
tetradic
#CDD45A #5AD49E #615AD4 #D45A90
square
#CDD45A #5AD49E #615AD4 #D45A90
split-complementary
#CDD45A #5A90D4 #9E5AD4
monochromatic
#888E25 #B7BF32 #CDD45A #DCE18B #EAEDBB

Accessibility & contrast

On white

1.60
#CDD45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#CDD45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD45A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD45A#FFFFFF#000000##000000
##CDD45A1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4D
Deuteranopia (green-blind)
#E3CE61
Tritanopia (blue-blind)
#DAC8BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd45a;
/* rgb */ color: rgb(205, 212, 90);
/* oklch */ color: oklch(84.1% 0.145 112.2);
Tailwind
colors: {
  custom: {
    50: '#dfe18d',
    500: '#cdd45a',
    950: '#000000',
  },
}
SCSS
$custom: #cdd45a;
$custom-light: #dfe18d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd45a",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 63.443,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84081,
    "c": 0.14503,
    "h": 112.2
  },
  "luminance": 0.60804
}

Semantic roles & 50–950 ramp

primary
#CDD45A
secondary
#433E94
accent
#46E24F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDD45A

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

Preview Lab → · Contrast checker → · Palette generator →

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