#CDC665#CDC665

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

Color values

HEX#CDC665
RGBrgb(205, 198, 101)
HSLhsl(56, 51%, 60%)
HSVhsv(56, 51%, 80%)
CMYKcmyk(0%, 3.4%, 50.7%, 19.6%)
CIE-LABlab(78.64, -10.54, 48.96)
CIE-LCHlch(78.64, 50.08, 102.14°)
OKLaboklab(81.22% -0.0311 0.1156)
OKLCHoklch(81.22% 0.12 105)
XYZxyz(47.7212, 54.3083, 20.2782)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC665 #656CCD
analogous
#CD9265 #CDC665 #A0CD65
triadic
#CDC665 #65CDC6 #C665CD
tetradic
#CDC665 #65CD92 #656CCD #CD65A0
square
#CDC665 #65CD92 #656CCD #CD65A0
split-complementary
#CDC665 #65A0CD #9265CD
monochromatic
#8B842D #B9B03C #CDC665 #DCD793 #EBE8C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC665#FFFFFF#000000##000000
##CDC6651.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)
#D4C05C
Deuteranopia (green-blind)
#D7C56A
Tritanopia (blue-blind)
#DABBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc665;
/* rgb */ color: rgb(205, 198, 101);
/* oklch */ color: oklch(81.2% 0.120 105.0);
Tailwind
colors: {
  custom: {
    50: '#ded793',
    500: '#cdc665',
    950: '#000000',
  },
}
SCSS
$custom: #cdc665;
$custom-light: #ded793;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc665",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 101
  },
  "hsl": {
    "h": 55.962,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.81222,
    "c": 0.11972,
    "h": 105
  },
  "luminance": 0.54307
}

Semantic roles & 50–950 ramp

primary
#CDC665
secondary
#454A91
accent
#57DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC665

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

Preview Lab → · Contrast checker → · Palette generator →

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