#CDC050#CDC050

#CDC050 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.133 H 102.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CDC050
RGBrgb(205, 192, 80)
HSLhsl(54, 56%, 56%)
HSVhsv(54, 61%, 80%)
CMYKcmyk(0%, 6.3%, 61%, 19.6%)
CIE-LABlab(76.84, -9.09, 56.57)
CIE-LCHlch(76.84, 57.30, 99.13°)
OKLaboklab(79.72% -0.0292 0.1296)
OKLCHoklch(79.72% 0.133 102.7)
XYZxyz(45.4761, 51.2593, 15.0864)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC050 #505DCD
analogous
#CD8150 #CDC050 #9BCD50
triadic
#CDC050 #50CDC0 #C050CD
tetradic
#CDC050 #50CD81 #505DCD #CD509B
square
#CDC050 #50CD81 #505DCD #CD509B
split-complementary
#CDC050 #509BCD #8150CD
monochromatic
#7E7524 #AEA132 #CDC050 #DBD180 #E8E2AF

Accessibility & contrast

On white

1.87
#CDC050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CDC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC050
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC050#FFFFFF#000000##000000
##CDC0501.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA43
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#DBB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc050;
/* rgb */ color: rgb(205, 192, 80);
/* oklch */ color: oklch(79.7% 0.133 102.7);
Tailwind
colors: {
  custom: {
    50: '#dfd286',
    500: '#cdc050',
    950: '#000000',
  },
}
SCSS
$custom: #cdc050;
$custom-light: #dfd286;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc050",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 53.76,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79719,
    "c": 0.13286,
    "h": 102.7
  },
  "luminance": 0.51258
}

Semantic roles & 50–950 ramp

primary
#CDC050
secondary
#3B4386
accent
#59DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC050

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

Preview Lab → · Contrast checker → · Palette generator →

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