#CDCD66#CDCD66

#CDCD66 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.126 H 108.9°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CDCD66
RGBrgb(205, 205, 102)
HSLhsl(60, 51%, 60%)
HSVhsv(60, 50%, 80%)
CMYKcmyk(0%, 0%, 50.2%, 19.6%)
CIE-LABlab(80.52, -14.00, 50.70)
CIE-LCHlch(80.52, 52.60, 105.43°)
OKLaboklab(82.72% -0.0408 0.1195)
OKLCHoklch(82.72% 0.126 108.9)
XYZxyz(49.4076, 57.6023, 21.0835)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD66 #6666CD
analogous
#CD9966 #CDCD66 #99CD66
triadic
#CDCD66 #66CDCD #CD66CD
tetradic
#CDCD66 #66CD99 #6666CD #CD6699
square
#CDCD66 #66CD99 #6666CD #CD6699
split-complementary
#CDCD66 #6699CD #9966CD
monochromatic
#8B8B2D #B9B93D #CDCD66 #DCDC94 #EBEBC2

Accessibility & contrast

On white

1.68
#CDCD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#CDCD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD66
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD66#FFFFFF#000000##000000
##CDCD661.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC65C
Deuteranopia (green-blind)
#DDCA6B
Tritanopia (blue-blind)
#D9C2B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd66;
/* rgb */ color: rgb(205, 205, 102);
/* oklch */ color: oklch(82.7% 0.126 108.9);
Tailwind
colors: {
  custom: {
    50: '#dedc94',
    500: '#cdcd66',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd66;
$custom-light: #dedc94;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd66",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 60,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82718,
    "c": 0.1263,
    "h": 108.9
  },
  "luminance": 0.57601
}

Semantic roles & 50–950 ramp

primary
#CDCD66
secondary
#454592
accent
#27BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCD66

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

Preview Lab → · Contrast checker → · Palette generator →

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