#CDC666#CDC666

#CDC666 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.119 H 105.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CDC666
RGBrgb(205, 198, 102)
HSLhsl(56, 51%, 60%)
HSVhsv(56, 50%, 80%)
CMYKcmyk(0%, 3.4%, 50.2%, 19.6%)
CIE-LABlab(78.65, -10.45, 48.49)
CIE-LCHlch(78.65, 49.61, 102.16°)
OKLaboklab(81.24% -0.0307 0.1147)
OKLCHoklch(81.24% 0.119 105)
XYZxyz(47.7705, 54.3280, 20.5378)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC666 #666DCD
analogous
#CD9266 #CDC666 #A1CD66
triadic
#CDC666 #66CDC6 #C666CD
tetradic
#CDC666 #66CD92 #666DCD #CD66A1
square
#CDC666 #66CD92 #666DCD #CD66A1
split-complementary
#CDC666 #66A1CD #9266CD
monochromatic
#8B852D #B9B13D #CDC666 #DCD794 #EBE8C2

Accessibility & contrast

On white

1.77
#CDC666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CDC666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC666
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC666#FFFFFF#000000##000000
##CDC6661.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05D
Deuteranopia (green-blind)
#D7C56B
Tritanopia (blue-blind)
#DABBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc666;
/* rgb */ color: rgb(205, 198, 102);
/* oklch */ color: oklch(81.2% 0.119 105.0);
Tailwind
colors: {
  custom: {
    50: '#ded794',
    500: '#cdc666',
    950: '#000000',
  },
}
SCSS
$custom: #cdc666;
$custom-light: #ded794;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc666",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 55.922,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81235,
    "c": 0.11873,
    "h": 105
  },
  "luminance": 0.54327
}

Semantic roles & 50–950 ramp

primary
#CDC666
secondary
#454B92
accent
#32BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC666

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

Preview Lab → · Contrast checker → · Palette generator →

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