#CDCD9B#CDCD9B

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

Color values

HEX#CDCD9B
RGBrgb(205, 205, 155)
HSLhsl(60, 33%, 71%)
HSVhsv(60, 24%, 80%)
CMYKcmyk(0%, 0%, 24.4%, 19.6%)
CIE-LABlab(81.30, -8.03, 24.99)
CIE-LCHlch(81.30, 26.24, 107.82°)
OKLaboklab(83.59% -0.0202 0.0631)
OKLCHoklch(83.59% 0.066 107.7)
XYZxyz(52.9245, 59.0090, 39.6058)
Luminance0.5901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD9B #9B9BCD
analogous
#CDB49B #CDCD9B #B4CD9B
triadic
#CDCD9B #9BCDCD #CD9BCD
tetradic
#CDCD9B #9BCDB4 #9B9BCD #CD9BB4
square
#CDCD9B #9BCDB4 #9B9BCD #CD9BB4
split-complementary
#CDCD9B #9BB4CD #B49BCD
monochromatic
#9E9E4F #B9B972 #CDCD9B #E1E1C4 #F5F5EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCD9B#FFFFFF#000000##000000
##CDCD9B1.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)
#D5C998
Deuteranopia (green-blind)
#D6CB9D
Tritanopia (blue-blind)
#D4C7C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcd9b;
/* rgb */ color: rgb(205, 205, 155);
/* oklch */ color: oklch(83.6% 0.066 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcb8',
    500: '#cdcd9b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd9b;
$custom-light: #dcdcb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd9b",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 155
  },
  "hsl": {
    "h": 60,
    "s": 33.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83592,
    "c": 0.0663,
    "h": 107.7
  },
  "luminance": 0.59008
}

Semantic roles & 50–950 ramp

primary
#CDCD9B
secondary
#6A6AA2
accent
#39AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD9B

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

Preview Lab → · Contrast checker → · Palette generator →

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