#CDC99F#CDC99F

#CDC99F is a very light, muted yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.056 H 103.0°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CDC99F
RGBrgb(205, 201, 159)
HSLhsl(55, 32%, 71%)
HSVhsv(55, 22%, 80%)
CMYKcmyk(0%, 2%, 22.4%, 19.6%)
CIE-LABlab(80.32, -5.41, 21.55)
CIE-LCHlch(80.32, 22.21, 104.09°)
OKLaboklab(82.85% -0.0127 0.0548)
OKLCHoklch(82.85% 0.056 103)
XYZxyz(52.3214, 57.2564, 41.0895)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC99F #9FA3CD
analogous
#CDB29F #CDC99F #BACD9F
triadic
#CDC99F #9FCDC9 #C99FCD
tetradic
#CDC99F #9FCDB2 #9FA3CD #CD9FBA
square
#CDC99F #9FCDB2 #9FA3CD #CD9FBA
split-complementary
#CDC99F #9FBACD #B29FCD
monochromatic
#9F9853 #B8B277 #CDC99F #E2E0C7 #F5F4EB

Accessibility & contrast

On white

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

On black

12.45
#CDC99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC99F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC99F#FFFFFF#000000##000000
##CDC99F1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C69C
Deuteranopia (green-blind)
#D2C8A0
Tritanopia (blue-blind)
#D4C3BE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc99f;
/* rgb */ color: rgb(205, 201, 159);
/* oklch */ color: oklch(82.8% 0.056 103.0);
Tailwind
colors: {
  custom: {
    50: '#dcd9bb',
    500: '#cdc99f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc99f;
$custom-light: #dcd9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc99f",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 159
  },
  "hsl": {
    "h": 54.783,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.82847,
    "c": 0.05629,
    "h": 103
  },
  "luminance": 0.57256
}

Semantic roles & 50–950 ramp

primary
#CDC99F
secondary
#6E72A2
accent
#45AA3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CDC99F

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

Preview Lab → · Contrast checker → · Palette generator →

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