#CDC66D#CDC66D

#CDC66D is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.112 H 104.6°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#CDC66D
RGBrgb(205, 198, 109)
HSLhsl(56, 49%, 62%)
HSVhsv(56, 47%, 80%)
CMYKcmyk(0%, 3.4%, 46.8%, 19.6%)
CIE-LABlab(78.74, -9.81, 45.20)
CIE-LCHlch(78.74, 46.25, 102.25°)
OKLaboklab(81.33% -0.0282 0.108)
OKLCHoklch(81.33% 0.112 104.6)
XYZxyz(48.1324, 54.4728, 22.4439)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC66D #6D74CD
analogous
#CD966D #CDC66D #A4CD6D
triadic
#CDC66D #6DCDC6 #C66DCD
tetradic
#CDC66D #6DCD96 #6D74CD #CD6DA4
square
#CDC66D #6DCD96 #6D74CD #CD6DA4
split-complementary
#CDC66D #6DA4CD #966DCD
monochromatic
#8F8831 #BCB340 #CDC66D #DDD89B #ECEAC8

Accessibility & contrast

On white

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

On black

11.89
#CDC66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC66D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC66D#FFFFFF#000000##000000
##CDC66D1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C065
Deuteranopia (green-blind)
#D6C571
Tritanopia (blue-blind)
#D9BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc66d;
/* rgb */ color: rgb(205, 198, 109);
/* oklch */ color: oklch(81.3% 0.112 104.6);
Tailwind
colors: {
  custom: {
    50: '#ded799',
    500: '#cdc66d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc66d;
$custom-light: #ded799;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc66d",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 109
  },
  "hsl": {
    "h": 55.625,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81329,
    "c": 0.11162,
    "h": 104.6
  },
  "luminance": 0.54471
}

Semantic roles & 50–950 ramp

primary
#CDC66D
secondary
#494F95
accent
#34BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC66D

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

Preview Lab → · Contrast checker → · Palette generator →

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