#CDCA99#CDCA99

#CDCA99 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.065 H 104.8°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CDCA99
RGBrgb(205, 202, 153)
HSLhsl(57, 34%, 70%)
HSVhsv(57, 25%, 80%)
CMYKcmyk(0%, 1.5%, 25.4%, 19.6%)
CIE-LABlab(80.47, -6.76, 24.91)
CIE-LCHlch(80.47, 25.82, 105.19°)
OKLaboklab(82.93% -0.0166 0.0629)
OKLCHoklch(82.93% 0.065 104.8)
XYZxyz(52.0472, 57.5209, 38.4917)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA99 #999CCD
analogous
#CDB099 #CDCA99 #B6CD99
triadic
#CDCA99 #99CDCA #CA99CD
tetradic
#CDCA99 #99CDB0 #999CCD #CD99B6
square
#CDCA99 #99CDB0 #999CCD #CD99B6
split-complementary
#CDCA99 #99B6CD #B099CD
monochromatic
#9E994D #B9B570 #CDCA99 #E1DFC2 #F5F4EA

Accessibility & contrast

On white

1.68
#CDCA99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CDCA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA99
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA99#FFFFFF#000000##000000
##CDCA991.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C696
Deuteranopia (green-blind)
#D4C99B
Tritanopia (blue-blind)
#D5C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdca99;
/* rgb */ color: rgb(205, 202, 153);
/* oklch */ color: oklch(82.9% 0.065 104.8);
Tailwind
colors: {
  custom: {
    50: '#dcdab7',
    500: '#cdca99',
    950: '#000000',
  },
}
SCSS
$custom: #cdca99;
$custom-light: #dcdab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca99",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 153
  },
  "hsl": {
    "h": 56.538,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.82926,
    "c": 0.0651,
    "h": 104.8
  },
  "luminance": 0.5752
}

Semantic roles & 50–950 ramp

primary
#CDCA99
secondary
#686BA2
accent
#3FAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA99

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

Preview Lab → · Contrast checker → · Palette generator →

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