#CDCE89#CDCE89

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

Color values

HEX#CDCE89
RGBrgb(205, 206, 137)
HSLhsl(61, 41%, 67%)
HSVhsv(61, 33%, 81%)
CMYKcmyk(0.5%, 0%, 33.5%, 19.2%)
CIE-LABlab(81.25, -10.87, 34.28)
CIE-LCHlch(81.25, 35.96, 107.60°)
OKLaboklab(83.46% -0.029 0.0847)
OKLCHoklch(83.46% 0.09 108.9)
XYZxyz(51.7639, 58.9288, 32.3096)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE89 #8A89CE
analogous
#CEAD89 #CDCE89 #AACE89
triadic
#CDCE89 #89CDCE #CE89CD
tetradic
#CDCE89 #89CEAD #8A89CE #CE89AA
square
#CDCE89 #89CEAD #8A89CE #CE89AA
split-complementary
#CDCE89 #89AACE #AD89CE
monochromatic
#9B9C41 #BBBC5E #CDCE89 #DFE0B4 #F2F2DF

Accessibility & contrast

On white

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

On black

12.79
#CDCE89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE89
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE89#FFFFFF#000000##000000
##CDCE891.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C884
Deuteranopia (green-blind)
#DACB8C
Tritanopia (blue-blind)
#D6C6BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdce89;
/* rgb */ color: rgb(205, 206, 137);
/* oklch */ color: oklch(83.5% 0.090 108.9);
Tailwind
colors: {
  custom: {
    50: '#dddcac',
    500: '#cdce89',
    950: '#000000',
  },
}
SCSS
$custom: #cdce89;
$custom-light: #dddcac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce89",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 137
  },
  "hsl": {
    "h": 60.87,
    "s": 41.317,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83456,
    "c": 0.08957,
    "h": 108.9
  },
  "luminance": 0.58928
}

Semantic roles & 50–950 ramp

primary
#CDCE89
secondary
#5A59A2
accent
#31B433
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCE89

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

Preview Lab → · Contrast checker → · Palette generator →

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