#CDC350#CDC350

#CDC350 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.136 H 104.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CDC350
RGBrgb(205, 195, 80)
HSLhsl(55, 56%, 56%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 4.9%, 61%, 19.6%)
CIE-LABlab(77.63, -10.62, 57.44)
CIE-LCHlch(77.63, 58.41, 100.48°)
OKLaboklab(80.35% -0.0336 0.1315)
OKLCHoklch(80.35% 0.136 104.3)
XYZxyz(46.1415, 52.5902, 15.3082)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC350 #505ACD
analogous
#CD8450 #CDC350 #98CD50
triadic
#CDC350 #50CDC3 #C350CD
tetradic
#CDC350 #50CD84 #505ACD #CD5098
square
#CDC350 #50CD84 #505ACD #CD5098
split-complementary
#CDC350 #5098CD #8450CD
monochromatic
#7E7724 #AEA432 #CDC350 #DBD380 #E8E4AF

Accessibility & contrast

On white

1.82
#CDC350 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CDC350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC350
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC350#FFFFFF#000000##000000
##CDC3501.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#DBB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc350;
/* rgb */ color: rgb(205, 195, 80);
/* oklch */ color: oklch(80.4% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd486',
    500: '#cdc350',
    950: '#000000',
  },
}
SCSS
$custom: #cdc350;
$custom-light: #dfd486;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc350",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 80
  },
  "hsl": {
    "h": 55.2,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80352,
    "c": 0.13568,
    "h": 104.3
  },
  "luminance": 0.52589
}

Semantic roles & 50–950 ramp

primary
#CDC350
secondary
#3B4186
accent
#55DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC350

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

Preview Lab → · Contrast checker → · Palette generator →

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