#CDC06F#CDC06F

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

Color values

HEX#CDC06F
RGBrgb(205, 192, 111)
HSLhsl(52, 48%, 62%)
HSVhsv(52, 46%, 80%)
CMYKcmyk(0%, 6.3%, 45.9%, 19.6%)
CIE-LABlab(77.18, -6.53, 42.29)
CIE-LCHlch(77.18, 42.79, 98.78°)
OKLaboklab(80.1% -0.0185 0.1017)
OKLCHoklch(80.1% 0.103 100.3)
XYZxyz(46.8969, 51.8276, 22.5692)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC06F #6F7CCD
analogous
#CD916F #CDC06F #ABCD6F
triadic
#CDC06F #6FCDC0 #C06FCD
tetradic
#CDC06F #6FCD91 #6F7CCD #CD6FAB
square
#CDC06F #6FCD91 #6F7CCD #CD6FAB
split-complementary
#CDC06F #6FABCD #916FCD
monochromatic
#908332 #BDAC42 #CDC06F #DDD49C #EDE8CA

Accessibility & contrast

On white

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

On black

11.37
#CDC06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC06F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC06F#FFFFFF#000000##000000
##CDC06F1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC68
Deuteranopia (green-blind)
#D2C172
Tritanopia (blue-blind)
#DAB6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc06f;
/* rgb */ color: rgb(205, 192, 111);
/* oklch */ color: oklch(80.1% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#ded29a',
    500: '#cdc06f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc06f;
$custom-light: #ded29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc06f",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 111
  },
  "hsl": {
    "h": 51.702,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.801,
    "c": 0.10338,
    "h": 100.3
  },
  "luminance": 0.51826
}

Semantic roles & 50–950 ramp

primary
#CDC06F
secondary
#4A5596
accent
#3EBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC06F

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

Preview Lab → · Contrast checker → · Palette generator →

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