#CDCD50#CDCD50

#CDCD50 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.146 H 109.2°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CDCD50
RGBrgb(205, 205, 80)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0%, 61%, 19.6%)
CIE-LABlab(80.30, -15.67, 60.33)
CIE-LCHlch(80.30, 62.33, 104.56°)
OKLaboklab(82.48% -0.0479 0.1376)
OKLCHoklch(82.48% 0.146 109.2)
XYZxyz(48.4576, 57.2223, 16.0803)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD50 #5050CD
analogous
#CD8E50 #CDCD50 #8ECD50
triadic
#CDCD50 #50CDCD #CD50CD
tetradic
#CDCD50 #50CD8E #5050CD #CD508E
square
#CDCD50 #50CD8E #5050CD #CD508E
split-complementary
#CDCD50 #508ECD #8E50CD
monochromatic
#7E7E24 #AEAE32 #CDCD50 #DBDB80 #E8E8AF

Accessibility & contrast

On white

1.69
#CDCD50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#CDCD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD50
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD50#FFFFFF#000000##000000
##CDCD501.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC541
Deuteranopia (green-blind)
#DEC958
Tritanopia (blue-blind)
#DBC1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd50;
/* rgb */ color: rgb(205, 205, 80);
/* oklch */ color: oklch(82.5% 0.146 109.2);
Tailwind
colors: {
  custom: {
    50: '#dfdc86',
    500: '#cdcd50',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd50;
$custom-light: #dfdc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd50",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8248,
    "c": 0.14568,
    "h": 109.2
  },
  "luminance": 0.57221
}

Semantic roles & 50–950 ramp

primary
#CDCD50
secondary
#3B3B86
accent
#49DF49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCD50

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

Preview Lab → · Contrast checker → · Palette generator →

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