#CDC650#CDC650

#CDC650 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.139 H 105.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CDC650
RGBrgb(205, 198, 80)
HSLhsl(57, 56%, 56%)
HSVhsv(57, 61%, 80%)
CMYKcmyk(0%, 3.4%, 61%, 19.6%)
CIE-LABlab(78.43, -12.15, 58.31)
CIE-LCHlch(78.43, 59.56, 101.77°)
OKLaboklab(80.99% -0.0379 0.1333)
OKLCHoklch(80.99% 0.139 105.9)
XYZxyz(46.8205, 53.9480, 15.5346)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC650 #5057CD
analogous
#CD8750 #CDC650 #95CD50
triadic
#CDC650 #50CDC6 #C650CD
tetradic
#CDC650 #50CD87 #5057CD #CD5095
square
#CDC650 #50CD87 #5057CD #CD5095
split-complementary
#CDC650 #5095CD #8750CD
monochromatic
#7E7924 #AEA732 #CDC650 #DBD680 #E8E5AF

Accessibility & contrast

On white

1.78
#CDC650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CDC650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC650
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC650#FFFFFF#000000##000000
##CDC6501.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#D9C457
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc650;
/* rgb */ color: rgb(205, 198, 80);
/* oklch */ color: oklch(81.0% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#dfd786',
    500: '#cdc650',
    950: '#000000',
  },
}
SCSS
$custom: #cdc650;
$custom-light: #dfd786;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc650",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 80
  },
  "hsl": {
    "h": 56.64,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80988,
    "c": 0.13859,
    "h": 105.9
  },
  "luminance": 0.53946
}

Semantic roles & 50–950 ramp

primary
#CDC650
secondary
#3B3F86
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC650

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

Preview Lab → · Contrast checker → · Palette generator →

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