#CDCC68#CDCC68

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

Color values

HEX#CDCC68
RGBrgb(205, 204, 104)
HSLhsl(59, 50%, 61%)
HSVhsv(59, 49%, 80%)
CMYKcmyk(0%, 0.5%, 49.3%, 19.6%)
CIE-LABlab(80.27, -13.32, 49.46)
CIE-LCHlch(80.27, 51.23, 105.07°)
OKLaboklab(82.53% -0.0387 0.117)
OKLCHoklch(82.53% 0.123 108.3)
XYZxyz(49.2695, 57.1656, 21.5327)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC68 #6869CD
analogous
#CD9968 #CDCC68 #9BCD68
triadic
#CDCC68 #68CDCC #CC68CD
tetradic
#CDCC68 #68CD99 #6869CD #CD689B
square
#CDCC68 #68CD99 #6869CD #CD689B
split-complementary
#CDCC68 #689BCD #9968CD
monochromatic
#8C8B2E #BAB93E #CDCC68 #DCDC96 #EBEBC4

Accessibility & contrast

On white

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

On black

12.43
#CDCC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC68
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC68#FFFFFF#000000##000000
##CDCC681.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55F
Deuteranopia (green-blind)
#DCC96D
Tritanopia (blue-blind)
#D9C1B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc68;
/* rgb */ color: rgb(205, 204, 104);
/* oklch */ color: oklch(82.5% 0.123 108.3);
Tailwind
colors: {
  custom: {
    50: '#dedb95',
    500: '#cdcc68',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc68;
$custom-light: #dedb95;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc68",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 104
  },
  "hsl": {
    "h": 59.406,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82531,
    "c": 0.12322,
    "h": 108.3
  },
  "luminance": 0.57164
}

Semantic roles & 50–950 ramp

primary
#CDCC68
secondary
#464793
accent
#29BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCC68

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

Preview Lab → · Contrast checker → · Palette generator →

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