#CDCE8B#CDCE8B

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

Color values

HEX#CDCE8B
RGBrgb(205, 206, 139)
HSLhsl(61, 41%, 68%)
HSVhsv(61, 33%, 81%)
CMYKcmyk(0.5%, 0%, 32.5%, 19.2%)
CIE-LABlab(81.28, -10.63, 33.29)
CIE-LCHlch(81.28, 34.95, 107.71°)
OKLaboklab(83.49% -0.0282 0.0825)
OKLCHoklch(83.49% 0.087 108.9)
XYZxyz(51.9087, 58.9867, 33.0722)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE8B #8C8BCE
analogous
#CEAE8B #CDCE8B #ABCE8B
triadic
#CDCE8B #8BCDCE #CE8BCD
tetradic
#CDCE8B #8BCEAE #8C8BCE #CE8BAB
square
#CDCE8B #8BCEAE #8C8BCE #CE8BAB
split-complementary
#CDCE8B #8BABCE #AE8BCE
monochromatic
#9B9C42 #BABC60 #CDCE8B #E0E0B6 #F2F2E1

Accessibility & contrast

On white

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

On black

12.80
#CDCE8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE8B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE8B#FFFFFF#000000##000000
##CDCE8B1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdce8b;
/* rgb */ color: rgb(205, 206, 139);
/* oklch */ color: oklch(83.5% 0.087 108.9);
Tailwind
colors: {
  custom: {
    50: '#dddcad',
    500: '#cdce8b',
    950: '#000000',
  },
}
SCSS
$custom: #cdce8b;
$custom-light: #dddcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce8b",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 139
  },
  "hsl": {
    "h": 60.896,
    "s": 40.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83491,
    "c": 0.08719,
    "h": 108.9
  },
  "luminance": 0.58986
}

Semantic roles & 50–950 ramp

primary
#CDCE8B
secondary
#5C5BA3
accent
#32B434
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCE8B

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

Preview Lab → · Contrast checker → · Palette generator →

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