#CDC99B#CDC99B

#CDC99B is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.061 H 103.5°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CDC99B
RGBrgb(205, 201, 155)
HSLhsl(55, 33%, 71%)
HSVhsv(55, 24%, 80%)
CMYKcmyk(0%, 2%, 24.4%, 19.6%)
CIE-LABlab(80.25, -5.97, 23.55)
CIE-LCHlch(80.25, 24.30, 104.23°)
OKLaboklab(82.76% -0.0143 0.0597)
OKLCHoklch(82.76% 0.061 103.5)
XYZxyz(51.9799, 57.1198, 39.2910)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC99B #9B9FCD
analogous
#CDB09B #CDC99B #B8CD9B
triadic
#CDC99B #9BCDC9 #C99BCD
tetradic
#CDC99B #9BCDB0 #9B9FCD #CD9BB8
square
#CDC99B #9BCDB0 #9B9FCD #CD9BB8
split-complementary
#CDC99B #9BB8CD #B09BCD
monochromatic
#9E984F #B9B372 #CDC99B #E1DFC4 #F5F4EB

Accessibility & contrast

On white

1.69
#CDC99B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CDC99B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC99B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC99B#FFFFFF#000000##000000
##CDC99B1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C698
Deuteranopia (green-blind)
#D3C89D
Tritanopia (blue-blind)
#D5C3BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc99b;
/* rgb */ color: rgb(205, 201, 155);
/* oklch */ color: oklch(82.8% 0.061 103.5);
Tailwind
colors: {
  custom: {
    50: '#dcd9b8',
    500: '#cdc99b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc99b;
$custom-light: #dcd9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc99b",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 155
  },
  "hsl": {
    "h": 55.2,
    "s": 33.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.82761,
    "c": 0.06138,
    "h": 103.5
  },
  "luminance": 0.57119
}

Semantic roles & 50–950 ramp

primary
#CDC99B
secondary
#6A6EA2
accent
#43AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC99B

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

Preview Lab → · Contrast checker → · Palette generator →

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