#CDCA66#CDCA66

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

Color values

HEX#CDCA66
RGBrgb(205, 202, 102)
HSLhsl(58, 51%, 60%)
HSVhsv(58, 50%, 80%)
CMYKcmyk(0%, 1.5%, 50.2%, 19.6%)
CIE-LABlab(79.72, -12.48, 49.76)
CIE-LCHlch(79.72, 51.30, 104.08°)
OKLaboklab(82.08% -0.0365 0.1175)
OKLCHoklch(82.08% 0.123 107.3)
XYZxyz(48.6968, 56.1808, 20.8466)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA66 #6669CD
analogous
#CD9666 #CDCA66 #9DCD66
triadic
#CDCA66 #66CDCA #CA66CD
tetradic
#CDCA66 #66CD96 #6669CD #CD669D
square
#CDCA66 #66CD96 #6669CD #CD669D
split-complementary
#CDCA66 #669DCD #9666CD
monochromatic
#8B882D #B9B63D #CDCA66 #DCDA94 #EBEAC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA66#FFFFFF#000000##000000
##CDCA661.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)
#D8C35D
Deuteranopia (green-blind)
#DAC86B
Tritanopia (blue-blind)
#D9BFB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca66;
/* rgb */ color: rgb(205, 202, 102);
/* oklch */ color: oklch(82.1% 0.123 107.3);
Tailwind
colors: {
  custom: {
    50: '#deda94',
    500: '#cdca66',
    950: '#000000',
  },
}
SCSS
$custom: #cdca66;
$custom-light: #deda94;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca66",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 58.252,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82081,
    "c": 0.123,
    "h": 107.3
  },
  "luminance": 0.5618
}

Semantic roles & 50–950 ramp

primary
#CDCA66
secondary
#454892
accent
#2CBE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCA66

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

Preview Lab → · Contrast checker → · Palette generator →

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