#CDC450#CDC450

#CDC450 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.137 H 104.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CDC450
RGBrgb(205, 196, 80)
HSLhsl(56, 56%, 56%)
HSVhsv(56, 61%, 80%)
CMYKcmyk(0%, 4.4%, 61%, 19.6%)
CIE-LABlab(77.90, -11.13, 57.73)
CIE-LCHlch(77.90, 58.79, 100.91°)
OKLaboklab(80.56% -0.0351 0.1321)
OKLCHoklch(80.56% 0.137 104.9)
XYZxyz(46.3664, 53.0398, 15.3832)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC450 #5059CD
analogous
#CD8550 #CDC450 #97CD50
triadic
#CDC450 #50CDC4 #C450CD
tetradic
#CDC450 #50CD85 #5059CD #CD5097
square
#CDC450 #50CD85 #5059CD #CD5097
split-complementary
#CDC450 #5097CD #8550CD
monochromatic
#7E7824 #AEA532 #CDC450 #DBD480 #E8E4AF

Accessibility & contrast

On white

1.81
#CDC450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CDC450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC450
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC450#FFFFFF#000000##000000
##CDC4501.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#DBB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc450;
/* rgb */ color: rgb(205, 196, 80);
/* oklch */ color: oklch(80.6% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd586',
    500: '#cdc450',
    950: '#000000',
  },
}
SCSS
$custom: #cdc450;
$custom-light: #dfd586;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc450",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 55.68,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80563,
    "c": 0.13663,
    "h": 104.9
  },
  "luminance": 0.53038
}

Semantic roles & 50–950 ramp

primary
#CDC450
secondary
#3B4086
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC450

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

Preview Lab → · Contrast checker → · Palette generator →

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