#CDC664#CDC664

#CDC664 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.121 H 105.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CDC664
RGBrgb(205, 198, 100)
HSLhsl(56, 51%, 60%)
HSVhsv(56, 51%, 80%)
CMYKcmyk(0%, 3.4%, 51.2%, 19.6%)
CIE-LABlab(78.63, -10.62, 49.42)
CIE-LCHlch(78.63, 50.55, 102.13°)
OKLaboklab(81.21% -0.0314 0.1165)
OKLCHoklch(81.21% 0.121 105.1)
XYZxyz(47.6725, 54.2888, 20.0217)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC664 #646BCD
analogous
#CD9264 #CDC664 #A0CD64
triadic
#CDC664 #64CDC6 #C664CD
tetradic
#CDC664 #64CD92 #646BCD #CD64A0
square
#CDC664 #64CD92 #646BCD #CD64A0
split-complementary
#CDC664 #64A0CD #9264CD
monochromatic
#8A842D #B8B03B #CDC664 #DCD792 #EBE8C1

Accessibility & contrast

On white

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

On black

11.86
#CDC664 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC664
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC664#FFFFFF#000000##000000
##CDC6641.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc664;
/* rgb */ color: rgb(205, 198, 100);
/* oklch */ color: oklch(81.2% 0.121 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded793',
    500: '#cdc664',
    950: '#000000',
  },
}
SCSS
$custom: #cdc664;
$custom-light: #ded793;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc664",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 100
  },
  "hsl": {
    "h": 56,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81209,
    "c": 0.1207,
    "h": 105.1
  },
  "luminance": 0.54287
}

Semantic roles & 50–950 ramp

primary
#CDC664
secondary
#444991
accent
#57DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC664

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

Preview Lab → · Contrast checker → · Palette generator →

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