#CDCC65#CDCC65

#CDCC65 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.126 H 108.4°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CDCC65
RGBrgb(205, 204, 101)
HSLhsl(59, 51%, 60%)
HSVhsv(59, 51%, 80%)
CMYKcmyk(0%, 0.5%, 50.7%, 19.6%)
CIE-LABlab(80.24, -13.58, 50.85)
CIE-LCHlch(80.24, 52.63, 104.95°)
OKLaboklab(82.49% -0.0398 0.1197)
OKLCHoklch(82.49% 0.126 108.4)
XYZxyz(49.1199, 57.1057, 20.7444)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC65 #6566CD
analogous
#CD9865 #CDCC65 #9ACD65
triadic
#CDCC65 #65CDCC #CC65CD
tetradic
#CDCC65 #65CD98 #6566CD #CD659A
square
#CDCC65 #65CD98 #6566CD #CD659A
split-complementary
#CDCC65 #659ACD #9865CD
monochromatic
#8B8A2D #B9B83C #CDCC65 #DCDB93 #EBEBC1

Accessibility & contrast

On white

1.69
#CDCC65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CDCC65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC65
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC65#FFFFFF#000000##000000
##CDCC651.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55B
Deuteranopia (green-blind)
#DCC96A
Tritanopia (blue-blind)
#D9C1B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc65;
/* rgb */ color: rgb(205, 204, 101);
/* oklch */ color: oklch(82.5% 0.126 108.4);
Tailwind
colors: {
  custom: {
    50: '#dedb94',
    500: '#cdcc65',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc65;
$custom-light: #dedb94;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc65",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 101
  },
  "hsl": {
    "h": 59.423,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.82493,
    "c": 0.12615,
    "h": 108.4
  },
  "luminance": 0.57104
}

Semantic roles & 50–950 ramp

primary
#CDCC65
secondary
#454691
accent
#4FDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCC65

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

Preview Lab → · Contrast checker → · Palette generator →

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