#CDC99D#CDC99D

#CDC99D is a very light, muted yellow. Relative luminance 0.572; OKLCH L 82.8% C 0.059 H 103.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CDC99D
RGBrgb(205, 201, 157)
HSLhsl(55, 32%, 71%)
HSVhsv(55, 23%, 80%)
CMYKcmyk(0%, 2%, 23.4%, 19.6%)
CIE-LABlab(80.28, -5.69, 22.55)
CIE-LCHlch(80.28, 23.26, 104.17°)
OKLaboklab(82.8% -0.0135 0.0573)
OKLCHoklch(82.8% 0.059 103.3)
XYZxyz(52.1492, 57.1876, 40.1829)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC99D #9DA1CD
analogous
#CDB19D #CDC99D #B9CD9D
triadic
#CDC99D #9DCDC9 #C99DCD
tetradic
#CDC99D #9DCDB1 #9DA1CD #CD9DB9
square
#CDC99D #9DCDB1 #9DA1CD #CD9DB9
split-complementary
#CDC99D #9DB9CD #B19DCD
monochromatic
#9F9851 #B8B374 #CDC99D #E2DFC6 #F5F4EB

Accessibility & contrast

On white

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

On black

12.44
#CDC99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC99D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC99D#FFFFFF#000000##000000
##CDC99D1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C69A
Deuteranopia (green-blind)
#D3C89F
Tritanopia (blue-blind)
#D4C3BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc99d;
/* rgb */ color: rgb(205, 201, 157);
/* oklch */ color: oklch(82.8% 0.059 103.3);
Tailwind
colors: {
  custom: {
    50: '#dcd9ba',
    500: '#cdc99d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc99d;
$custom-light: #dcd9ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc99d",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 157
  },
  "hsl": {
    "h": 55,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.82803,
    "c": 0.05883,
    "h": 103.3
  },
  "luminance": 0.57187
}

Semantic roles & 50–950 ramp

primary
#CDC99D
secondary
#6C70A2
accent
#44AB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC99D

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

Preview Lab → · Contrast checker → · Palette generator →

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