#CDCC8B#CDCC8B

#CDCC8B is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.085 H 107.4°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CDCC8B
RGBrgb(205, 204, 139)
HSLhsl(59, 40%, 67%)
HSVhsv(59, 32%, 80%)
CMYKcmyk(0%, 0.5%, 32.2%, 19.6%)
CIE-LABlab(80.76, -9.61, 32.60)
CIE-LCHlch(80.76, 33.98, 106.43°)
OKLaboklab(83.07% -0.0253 0.0809)
OKLCHoklch(83.07% 0.085 107.4)
XYZxyz(51.4303, 58.0299, 32.9127)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC8B #8B8CCD
analogous
#CDAB8B #CDCC8B #ADCD8B
triadic
#CDCC8B #8BCDCC #CC8BCD
tetradic
#CDCC8B #8BCDAB #8B8CCD #CD8BAD
square
#CDCC8B #8BCDAB #8B8CCD #CD8BAD
split-complementary
#CDCC8B #8BADCD #AB8BCD
monochromatic
#9B9A43 #BBB960 #CDCC8B #DFDFB6 #F2F2E1

Accessibility & contrast

On white

1.67
#CDCC8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#CDCC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC8B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC8B#FFFFFF#000000##000000
##CDCC8B1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C786
Deuteranopia (green-blind)
#D8CA8E
Tritanopia (blue-blind)
#D6C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc8b;
/* rgb */ color: rgb(205, 204, 139);
/* oklch */ color: oklch(83.1% 0.085 107.4);
Tailwind
colors: {
  custom: {
    50: '#dddbad',
    500: '#cdcc8b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc8b;
$custom-light: #dddbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc8b",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 139
  },
  "hsl": {
    "h": 59.091,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83072,
    "c": 0.08474,
    "h": 107.4
  },
  "luminance": 0.58029
}

Semantic roles & 50–950 ramp

primary
#CDCC8B
secondary
#5B5CA1
accent
#35B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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