#CDD45B#CDD45B

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

Color values

HEX#CDD45B
RGBrgb(205, 212, 91)
HSLhsl(63, 58%, 59%)
HSVhsv(63, 57%, 83%)
CMYKcmyk(3.3%, 0%, 57.1%, 16.9%)
CIE-LABlab(82.28, -18.37, 57.75)
CIE-LCHlch(82.28, 60.60, 107.65°)
OKLaboklab(84.09% -0.0544 0.1335)
OKLCHoklch(84.09% 0.144 112.2)
XYZxyz(50.6099, 60.8225, 18.9694)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD45B #625BD4
analogous
#D49F5B #CDD45B #91D45B
triadic
#CDD45B #5BCDD4 #D45BCD
tetradic
#CDD45B #5BD49F #625BD4 #D45B91
square
#CDD45B #5BD49F #625BD4 #D45B91
split-complementary
#CDD45B #5B91D4 #9F5BD4
monochromatic
#898F26 #B7C032 #CDD45B #DCE18B #EBEDBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD45B#FFFFFF#000000##000000
##CDD45B1.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)
#E3CB4E
Deuteranopia (green-blind)
#E3CE62
Tritanopia (blue-blind)
#D9C8BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd45b;
/* rgb */ color: rgb(205, 212, 91);
/* oklch */ color: oklch(84.1% 0.144 112.2);
Tailwind
colors: {
  custom: {
    50: '#dfe18e',
    500: '#cdd45b',
    950: '#000000',
  },
}
SCSS
$custom: #cdd45b;
$custom-light: #dfe18e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd45b",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 63.471,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84091,
    "c": 0.14418,
    "h": 112.2
  },
  "luminance": 0.60821
}

Semantic roles & 50–950 ramp

primary
#CDD45B
secondary
#433E95
accent
#46E24F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD45B

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

Preview Lab → · Contrast checker → · Palette generator →

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