#CDC45D#CDC45D

#CDC45D is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.125 H 104.3°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CDC45D
RGBrgb(205, 196, 93)
HSLhsl(55, 53%, 58%)
HSVhsv(55, 55%, 80%)
CMYKcmyk(0%, 4.4%, 54.6%, 19.6%)
CIE-LABlab(78.02, -10.18, 52.01)
CIE-LCHlch(78.02, 53.00, 101.07°)
OKLaboklab(80.7% -0.0309 0.1214)
OKLCHoklch(80.7% 0.125 104.3)
XYZxyz(46.8940, 53.2508, 18.1621)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC45D #5D66CD
analogous
#CD8C5D #CDC45D #9ECD5D
triadic
#CDC45D #5DCDC4 #C45DCD
tetradic
#CDC45D #5DCD8C #5D66CD #CD5D9E
square
#CDC45D #5DCD8C #5D66CD #CD5D9E
split-complementary
#CDC45D #5D9ECD #8C5DCD
monochromatic
#867F29 #B5AB38 #CDC45D #DBD58C #EAE6BB

Accessibility & contrast

On white

1.80
#CDC45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CDC45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC45D
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC45D#FFFFFF#000000##000000
##CDC45D1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE53
Deuteranopia (green-blind)
#D6C362
Tritanopia (blue-blind)
#DAB8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc45d;
/* rgb */ color: rgb(205, 196, 93);
/* oklch */ color: oklch(80.7% 0.125 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd58e',
    500: '#cdc45d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc45d;
$custom-light: #dfd58e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc45d",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 55.179,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80702,
    "c": 0.12531,
    "h": 104.3
  },
  "luminance": 0.53249
}

Semantic roles & 50–950 ramp

primary
#CDC45D
secondary
#41478D
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC45D

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

Preview Lab → · Contrast checker → · Palette generator →

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