#CDCE8E#CDCE8E

#CDCE8E is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.084 H 108.8°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CDCE8E
RGBrgb(205, 206, 142)
HSLhsl(61, 40%, 68%)
HSVhsv(61, 31%, 81%)
CMYKcmyk(0.5%, 0%, 31.1%, 19.2%)
CIE-LABlab(81.33, -10.26, 31.81)
CIE-LCHlch(81.33, 33.42, 107.87°)
OKLaboklab(83.55% -0.027 0.0791)
OKLCHoklch(83.55% 0.084 108.8)
XYZxyz(52.1309, 59.0756, 34.2425)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE8E #8F8ECE
analogous
#CEAF8E #CDCE8E #ADCE8E
triadic
#CDCE8E #8ECDCE #CE8ECD
tetradic
#CDCE8E #8ECEAF #8F8ECE #CE8EAD
square
#CDCE8E #8ECEAF #8F8ECE #CE8EAD
split-complementary
#CDCE8E #8EADCE #AF8ECE
monochromatic
#9C9D44 #BABB63 #CDCE8E #E0E1B9 #F3F3E3

Accessibility & contrast

On white

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

On black

12.82
#CDCE8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE8E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE8E#FFFFFF#000000##000000
##CDCE8E1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdce8e;
/* rgb */ color: rgb(205, 206, 142);
/* oklch */ color: oklch(83.5% 0.084 108.8);
Tailwind
colors: {
  custom: {
    50: '#dddcaf',
    500: '#cdce8e',
    950: '#000000',
  },
}
SCSS
$custom: #cdce8e;
$custom-light: #dddcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce8e",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 142
  },
  "hsl": {
    "h": 60.938,
    "s": 39.506,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83546,
    "c": 0.0836,
    "h": 108.8
  },
  "luminance": 0.59075
}

Semantic roles & 50–950 ramp

primary
#CDCE8E
secondary
#5E5DA3
accent
#33B235
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCE8E

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

Preview Lab → · Contrast checker → · Palette generator →

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