#CDCE8D#CDCE8D

#CDCE8D is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.085 H 108.9°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CDCE8D
RGBrgb(205, 206, 141)
HSLhsl(61, 40%, 68%)
HSVhsv(61, 32%, 81%)
CMYKcmyk(0.5%, 0%, 31.6%, 19.2%)
CIE-LABlab(81.32, -10.38, 32.30)
CIE-LCHlch(81.32, 33.93, 107.82°)
OKLaboklab(83.53% -0.0274 0.0803)
OKLCHoklch(83.53% 0.085 108.9)
XYZxyz(52.0562, 59.0457, 33.8488)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE8D #8E8DCE
analogous
#CEAE8D #CDCE8D #ACCE8D
triadic
#CDCE8D #8DCDCE #CE8DCD
tetradic
#CDCE8D #8DCEAE #8E8DCE #CE8DAC
square
#CDCE8D #8DCEAE #8E8DCE #CE8DAC
split-complementary
#CDCE8D #8DACCE #AE8DCE
monochromatic
#9C9D44 #BABC62 #CDCE8D #E0E0B8 #F3F3E3

Accessibility & contrast

On white

1.64
#CDCE8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#CDCE8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE8D
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE8D#FFFFFF#000000##000000
##CDCE8D1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C988
Deuteranopia (green-blind)
#D9CB90
Tritanopia (blue-blind)
#D6C6BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdce8d;
/* rgb */ color: rgb(205, 206, 141);
/* oklch */ color: oklch(83.5% 0.085 108.9);
Tailwind
colors: {
  custom: {
    50: '#dddcaf',
    500: '#cdce8d',
    950: '#000000',
  },
}
SCSS
$custom: #cdce8d;
$custom-light: #dddcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce8d",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 141
  },
  "hsl": {
    "h": 60.923,
    "s": 39.877,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83528,
    "c": 0.0848,
    "h": 108.9
  },
  "luminance": 0.59045
}

Semantic roles & 50–950 ramp

primary
#CDCE8D
secondary
#5D5CA3
accent
#33B335
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCE8D

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

Preview Lab → · Contrast checker → · Palette generator →

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