#CDD45F#CDD45F

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

Color values

HEX#CDD45F
RGBrgb(205, 212, 95)
HSLhsl(64, 58%, 60%)
HSVhsv(64, 55%, 83%)
CMYKcmyk(3.3%, 0%, 55.2%, 16.9%)
CIE-LABlab(82.32, -18.06, 56.02)
CIE-LCHlch(82.32, 58.86, 107.87°)
OKLaboklab(84.13% -0.0531 0.1303)
OKLCHoklch(84.13% 0.141 112.2)
XYZxyz(50.7870, 60.8933, 19.9025)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD45F #665FD4
analogous
#D4A15F #CDD45F #92D45F
triadic
#CDD45F #5FCDD4 #D45FCD
tetradic
#CDD45F #5FD4A1 #665FD4 #D45F92
square
#CDD45F #5FD4A1 #665FD4 #D45F92
split-complementary
#CDD45F #5F92D4 #A15FD4
monochromatic
#8B9127 #B9C234 #CDD45F #DCE18F #EBEEBF

Accessibility & contrast

On white

1.59
#CDD45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#CDD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD45F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD45F#FFFFFF#000000##000000
##CDD45F1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#E3CE66
Tritanopia (blue-blind)
#D9C9BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd45f;
/* rgb */ color: rgb(205, 212, 95);
/* oklch */ color: oklch(84.1% 0.141 112.2);
Tailwind
colors: {
  custom: {
    50: '#dfe190',
    500: '#cdd45f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd45f;
$custom-light: #dfe190;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd45f",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 63.59,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84134,
    "c": 0.14068,
    "h": 112.2
  },
  "luminance": 0.60892
}

Semantic roles & 50–950 ramp

primary
#CDD45F
secondary
#454097
accent
#20C52A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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