#CDCD9E#CDCD9E

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

Color values

HEX#CDCD9E
RGBrgb(205, 205, 158)
HSLhsl(60, 32%, 71%)
HSVhsv(60, 23%, 80%)
CMYKcmyk(0%, 0%, 22.9%, 19.6%)
CIE-LABlab(81.35, -7.62, 23.49)
CIE-LCHlch(81.35, 24.69, 107.97°)
OKLaboklab(83.65% -0.019 0.0596)
OKLCHoklch(83.65% 0.063 107.7)
XYZxyz(53.1796, 59.1111, 40.9492)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD9E #9E9ECD
analogous
#CDB59E #CDCD9E #B5CD9E
triadic
#CDCD9E #9ECDCD #CD9ECD
tetradic
#CDCD9E #9ECDB5 #9E9ECD #CD9EB5
square
#CDCD9E #9ECDB5 #9E9ECD #CD9EB5
split-complementary
#CDCD9E #9EB5CD #B59ECD
monochromatic
#9F9F52 #B8B876 #CDCD9E #E2E2C6 #F5F5EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCD9E#FFFFFF#000000##000000
##CDCD9E1.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)
#D5C99B
Deuteranopia (green-blind)
#D6CBA0
Tritanopia (blue-blind)
#D4C7C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcd9e;
/* rgb */ color: rgb(205, 205, 158);
/* oklch */ color: oklch(83.7% 0.063 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcbb',
    500: '#cdcd9e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd9e;
$custom-light: #dcdcbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd9e",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 158
  },
  "hsl": {
    "h": 60,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83654,
    "c": 0.0625,
    "h": 107.7
  },
  "luminance": 0.5911
}

Semantic roles & 50–950 ramp

primary
#CDCD9E
secondary
#6D6DA2
accent
#3BAB3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD9E

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

Preview Lab → · Contrast checker → · Palette generator →

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