#CDC08C#CDC08C

#CDC08C is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.070 H 95.8°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CDC08C
RGBrgb(205, 192, 140)
HSLhsl(48, 39%, 68%)
HSVhsv(48, 32%, 80%)
CMYKcmyk(0%, 6.3%, 31.7%, 19.6%)
CIE-LABlab(77.62, -3.28, 27.91)
CIE-LCHlch(77.62, 28.11, 96.70°)
OKLaboklab(80.6% -0.007 0.0699)
OKLCHoklch(80.6% 0.07 95.8)
XYZxyz(48.7606, 52.5731, 32.3849)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC08C #8C99CD
analogous
#CD9F8C #CDC08C #B9CD8C
triadic
#CDC08C #8CCDC0 #C08CCD
tetradic
#CDC08C #8CCD9F #8C99CD #CD8CB9
square
#CDC08C #8CCD9F #8C99CD #CD8CB9
split-complementary
#CDC08C #8CB9CD #9F8CCD
monochromatic
#9B8A43 #BAA961 #CDC08C #E0D7B7 #F2EFE1

Accessibility & contrast

On white

1.82
#CDC08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CDC08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC08C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC08C#FFFFFF#000000##000000
##CDC08C1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBD88
Deuteranopia (green-blind)
#CEC28E
Tritanopia (blue-blind)
#D7B8B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc08c;
/* rgb */ color: rgb(205, 192, 140);
/* oklch */ color: oklch(80.6% 0.070 95.8);
Tailwind
colors: {
  custom: {
    50: '#ddd2ae',
    500: '#cdc08c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc08c;
$custom-light: #ddd2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc08c",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 140
  },
  "hsl": {
    "h": 48,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.80597,
    "c": 0.07022,
    "h": 95.8
  },
  "luminance": 0.52572
}

Semantic roles & 50–950 ramp

primary
#CDC08C
secondary
#5C6AA2
accent
#4DB233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC08C

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

Preview Lab → · Contrast checker → · Palette generator →

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