#CDC653#CDC653

#CDC653 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.136 H 105.8°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CDC653
RGBrgb(205, 198, 83)
HSLhsl(57, 55%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 3.4%, 59.5%, 19.6%)
CIE-LABlab(78.46, -11.94, 57.03)
CIE-LCHlch(78.46, 58.27, 101.83°)
OKLaboklab(81.02% -0.037 0.131)
OKLCHoklch(81.02% 0.136 105.8)
XYZxyz(46.9338, 53.9934, 16.1314)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC653 #535ACD
analogous
#CD8953 #CDC653 #97CD53
triadic
#CDC653 #53CDC6 #C653CD
tetradic
#CDC653 #53CD89 #535ACD #CD5397
square
#CDC653 #53CD89 #535ACD #CD5397
split-complementary
#CDC653 #5397CD #8953CD
monochromatic
#807B25 #B0A933 #CDC653 #DBD682 #E9E5B2

Accessibility & contrast

On white

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

On black

11.80
#CDC653 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC653
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC653#FFFFFF#000000##000000
##CDC6531.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc653;
/* rgb */ color: rgb(205, 198, 83);
/* oklch */ color: oklch(81.0% 0.136 105.8);
Tailwind
colors: {
  custom: {
    50: '#dfd788',
    500: '#cdc653',
    950: '#000000',
  },
}
SCSS
$custom: #cdc653;
$custom-light: #dfd788;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc653",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 83
  },
  "hsl": {
    "h": 56.557,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81017,
    "c": 0.13612,
    "h": 105.8
  },
  "luminance": 0.53992
}

Semantic roles & 50–950 ramp

primary
#CDC653
secondary
#3C4188
accent
#52DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC653

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

Preview Lab → · Contrast checker → · Palette generator →

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