#CDCA68#CDCA68

#CDCA68 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.121 H 107.2°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CDCA68
RGBrgb(205, 202, 104)
HSLhsl(58, 50%, 61%)
HSVhsv(58, 49%, 80%)
CMYKcmyk(0%, 1.5%, 49.3%, 19.6%)
CIE-LABlab(79.74, -12.31, 48.83)
CIE-LCHlch(79.74, 50.36, 104.14°)
OKLaboklab(82.11% -0.0358 0.1156)
OKLCHoklch(82.11% 0.121 107.2)
XYZxyz(48.7972, 56.2210, 21.3752)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA68 #686BCD
analogous
#CD9768 #CDCA68 #9DCD68
triadic
#CDCA68 #68CDCA #CA68CD
tetradic
#CDCA68 #68CD97 #686BCD #CD689D
square
#CDCA68 #68CD97 #686BCD #CD689D
split-complementary
#CDCA68 #689DCD #9768CD
monochromatic
#8C892E #BAB63E #CDCA68 #DCDA96 #EBEAC4

Accessibility & contrast

On white

1.72
#CDCA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CDCA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA68
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA68#FFFFFF#000000##000000
##CDCA681.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35F
Deuteranopia (green-blind)
#DAC86D
Tritanopia (blue-blind)
#D9BFB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca68;
/* rgb */ color: rgb(205, 202, 104);
/* oklch */ color: oklch(82.1% 0.121 107.2);
Tailwind
colors: {
  custom: {
    50: '#deda95',
    500: '#cdca68',
    950: '#000000',
  },
}
SCSS
$custom: #cdca68;
$custom-light: #deda95;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca68",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 58.218,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82106,
    "c": 0.12102,
    "h": 107.2
  },
  "luminance": 0.5622
}

Semantic roles & 50–950 ramp

primary
#CDCA68
secondary
#464993
accent
#2CBE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCA68

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

Preview Lab → · Contrast checker → · Palette generator →

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