#CDCC6D#CDCC6D

#CDCC6D is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.118 H 108.2°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CDCC6D
RGBrgb(205, 204, 109)
HSLhsl(59, 49%, 62%)
HSVhsv(59, 47%, 80%)
CMYKcmyk(0%, 0.5%, 46.8%, 19.6%)
CIE-LABlab(80.33, -12.86, 47.13)
CIE-LCHlch(80.33, 48.86, 105.26°)
OKLaboklab(82.6% -0.0369 0.1123)
OKLCHoklch(82.6% 0.118 108.2)
XYZxyz(49.5311, 57.2702, 22.9101)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC6D #6D6ECD
analogous
#CD9C6D #CDCC6D #9ECD6D
triadic
#CDCC6D #6DCDCC #CC6DCD
tetradic
#CDCC6D #6DCD9C #6D6ECD #CD6D9E
square
#CDCC6D #6DCD9C #6D6ECD #CD6D9E
split-complementary
#CDCC6D #6D9ECD #9C6DCD
monochromatic
#8F8E31 #BCBB40 #CDCC6D #DDDC9B #ECECC8

Accessibility & contrast

On white

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

On black

12.45
#CDCC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC6D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC6D#FFFFFF#000000##000000
##CDCC6D1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C565
Deuteranopia (green-blind)
#DBC972
Tritanopia (blue-blind)
#D9C2B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc6d;
/* rgb */ color: rgb(205, 204, 109);
/* oklch */ color: oklch(82.6% 0.118 108.2);
Tailwind
colors: {
  custom: {
    50: '#dedb99',
    500: '#cdcc6d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc6d;
$custom-light: #dedb99;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc6d",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 109
  },
  "hsl": {
    "h": 59.375,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82597,
    "c": 0.1182,
    "h": 108.2
  },
  "luminance": 0.57269
}

Semantic roles & 50–950 ramp

primary
#CDCC6D
secondary
#494A95
accent
#2BBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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