#CDC950#CDC950

#CDC950 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.142 H 107.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CDC950
RGBrgb(205, 201, 80)
HSLhsl(58, 56%, 56%)
HSVhsv(58, 61%, 80%)
CMYKcmyk(0%, 2%, 61%, 19.6%)
CIE-LABlab(79.23, -13.66, 59.17)
CIE-LCHlch(79.23, 60.73, 103.00°)
OKLaboklab(81.63% -0.0422 0.1351)
OKLCHoklch(81.63% 0.142 107.4)
XYZxyz(47.5130, 55.3331, 15.7654)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC950 #5054CD
analogous
#CD8A50 #CDC950 #92CD50
triadic
#CDC950 #50CDC9 #C950CD
tetradic
#CDC950 #50CD8A #5054CD #CD5092
square
#CDC950 #50CD8A #5054CD #CD5092
split-complementary
#CDC950 #5092CD #8A50CD
monochromatic
#7E7C24 #AEAA32 #CDC950 #DBD880 #E8E6AF

Accessibility & contrast

On white

1.74
#CDC950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CDC950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC950
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC950#FFFFFF#000000##000000
##CDC9501.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc950;
/* rgb */ color: rgb(205, 201, 80);
/* oklch */ color: oklch(81.6% 0.142 107.4);
Tailwind
colors: {
  custom: {
    50: '#dfd986',
    500: '#cdc950',
    950: '#000000',
  },
}
SCSS
$custom: #cdc950;
$custom-light: #dfd986;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc950",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 58.08,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81626,
    "c": 0.14158,
    "h": 107.4
  },
  "luminance": 0.55332
}

Semantic roles & 50–950 ramp

primary
#CDC950
secondary
#3B3D86
accent
#4EDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC950

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

Preview Lab → · Contrast checker → · Palette generator →

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