#CDCA8C#CDCA8C

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

Color values

HEX#CDCA8C
RGBrgb(205, 202, 140)
HSLhsl(57, 39%, 68%)
HSVhsv(57, 32%, 80%)
CMYKcmyk(0%, 1.5%, 31.7%, 19.6%)
CIE-LABlab(80.24, -8.46, 31.40)
CIE-LCHlch(80.24, 32.52, 105.08°)
OKLaboklab(82.67% -0.0219 0.0781)
OKLCHoklch(82.67% 0.081 105.7)
XYZxyz(51.0314, 57.1146, 33.1418)
Luminance0.5711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA8C #8C8FCD
analogous
#CDAA8C #CDCA8C #AFCD8C
triadic
#CDCA8C #8CCDCA #CA8CCD
tetradic
#CDCA8C #8CCDAA #8C8FCD #CD8CAF
square
#CDCA8C #8CCDAA #8C8FCD #CD8CAF
split-complementary
#CDCA8C #8CAFCD #AA8CCD
monochromatic
#9B9743 #BAB661 #CDCA8C #E0DEB7 #F2F1E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA8C#FFFFFF#000000##000000
##CDCA8C1.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)
#D4C588
Deuteranopia (green-blind)
#D6C88E
Tritanopia (blue-blind)
#D6C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca8c;
/* rgb */ color: rgb(205, 202, 140);
/* oklch */ color: oklch(82.7% 0.081 105.7);
Tailwind
colors: {
  custom: {
    50: '#dddaae',
    500: '#cdca8c',
    950: '#000000',
  },
}
SCSS
$custom: #cdca8c;
$custom-light: #dddaae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca8c",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 140
  },
  "hsl": {
    "h": 57.231,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.82671,
    "c": 0.08113,
    "h": 105.7
  },
  "luminance": 0.57114
}

Semantic roles & 50–950 ramp

primary
#CDCA8C
secondary
#5C5FA2
accent
#39B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCA8C

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

Preview Lab → · Contrast checker → · Palette generator →

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