#CDCD8B#CDCD8B

#CDCD8B is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.086 H 108.1°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#CDCD8B
RGBrgb(205, 205, 139)
HSLhsl(60, 40%, 67%)
HSVhsv(60, 32%, 80%)
CMYKcmyk(0%, 0%, 32.2%, 19.6%)
CIE-LABlab(81.02, -10.12, 32.94)
CIE-LCHlch(81.02, 34.46, 107.08°)
OKLaboklab(83.28% -0.0267 0.0817)
OKLCHoklch(83.28% 0.086 108.1)
XYZxyz(51.6687, 58.5067, 32.9922)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD8B #8B8BCD
analogous
#CDAC8B #CDCD8B #ACCD8B
triadic
#CDCD8B #8BCDCD #CD8BCD
tetradic
#CDCD8B #8BCDAC #8B8BCD #CD8BAC
square
#CDCD8B #8BCDAC #8B8BCD #CD8BAC
split-complementary
#CDCD8B #8BACCD #AC8BCD
monochromatic
#9B9B43 #BBBB60 #CDCD8B #DFDFB6 #F2F2E1

Accessibility & contrast

On white

1.65
#CDCD8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#CDCD8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD8B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD8B#FFFFFF#000000##000000
##CDCD8B1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C886
Deuteranopia (green-blind)
#D9CA8E
Tritanopia (blue-blind)
#D6C5BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd8b;
/* rgb */ color: rgb(205, 205, 139);
/* oklch */ color: oklch(83.3% 0.086 108.1);
Tailwind
colors: {
  custom: {
    50: '#dddcad',
    500: '#cdcd8b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd8b;
$custom-light: #dddcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd8b",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 139
  },
  "hsl": {
    "h": 60,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83281,
    "c": 0.08596,
    "h": 108.1
  },
  "luminance": 0.58506
}

Semantic roles & 50–950 ramp

primary
#CDCD8B
secondary
#5B5BA1
accent
#33B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCD8B

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

Preview Lab → · Contrast checker → · Palette generator →

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