#CDC06E#CDC06E

#CDC06E is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.104 H 100.4°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CDC06E
RGBrgb(205, 192, 110)
HSLhsl(52, 49%, 62%)
HSVhsv(52, 46%, 80%)
CMYKcmyk(0%, 6.3%, 46.3%, 19.6%)
CIE-LABlab(77.16, -6.63, 42.77)
CIE-LCHlch(77.16, 43.28, 98.81°)
OKLaboklab(80.09% -0.0189 0.1027)
OKLCHoklch(80.09% 0.104 100.4)
XYZxyz(46.8422, 51.8057, 22.2809)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC06E #6E7BCD
analogous
#CD916E #CDC06E #ABCD6E
triadic
#CDC06E #6ECDC0 #C06ECD
tetradic
#CDC06E #6ECD91 #6E7BCD #CD6EAB
square
#CDC06E #6ECD91 #6E7BCD #CD6EAB
split-complementary
#CDC06E #6EABCD #916ECD
monochromatic
#8F8231 #BDAC41 #CDC06E #DDD49C #ECE8C9

Accessibility & contrast

On white

1.85
#CDC06E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CDC06E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC06E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC06E#FFFFFF#000000##000000
##CDC06E1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB67
Deuteranopia (green-blind)
#D2C171
Tritanopia (blue-blind)
#DAB6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc06e;
/* rgb */ color: rgb(205, 192, 110);
/* oklch */ color: oklch(80.1% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#ded299',
    500: '#cdc06e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc06e;
$custom-light: #ded299;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc06e",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 110
  },
  "hsl": {
    "h": 51.789,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80086,
    "c": 0.10444,
    "h": 100.4
  },
  "luminance": 0.51804
}

Semantic roles & 50–950 ramp

primary
#CDC06E
secondary
#4A5496
accent
#3EBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC06E

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

Preview Lab → · Contrast checker → · Palette generator →

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