#CDC48C#CDC48C

#CDC48C is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.074 H 100.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CDC48C
RGBrgb(205, 196, 140)
HSLhsl(52, 39%, 68%)
HSVhsv(52, 32%, 80%)
CMYKcmyk(0%, 4.4%, 31.7%, 19.6%)
CIE-LABlab(78.67, -5.36, 29.31)
CIE-LCHlch(78.67, 29.80, 100.37°)
OKLaboklab(81.42% -0.013 0.0732)
OKLCHoklch(81.42% 0.074 100.1)
XYZxyz(49.6509, 54.3536, 32.6816)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC48C #8C95CD
analogous
#CDA38C #CDC48C #B6CD8C
triadic
#CDC48C #8CCDC4 #C48CCD
tetradic
#CDC48C #8CCDA3 #8C95CD #CD8CB6
square
#CDC48C #8CCDA3 #8C95CD #CD8CB6
split-complementary
#CDC48C #8CB6CD #A38CCD
monochromatic
#9B8F43 #BAAE61 #CDC48C #E0DAB7 #F2F0E1

Accessibility & contrast

On white

1.77
#CDC48C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CDC48C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC48C
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC48C#FFFFFF#000000##000000
##CDC48C1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC088
Deuteranopia (green-blind)
#D1C48E
Tritanopia (blue-blind)
#D7BCB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc48c;
/* rgb */ color: rgb(205, 196, 140);
/* oklch */ color: oklch(81.4% 0.074 100.1);
Tailwind
colors: {
  custom: {
    50: '#ddd5ae',
    500: '#cdc48c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc48c;
$custom-light: #ddd5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc48c",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 140
  },
  "hsl": {
    "h": 51.692,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.81423,
    "c": 0.07433,
    "h": 100.1
  },
  "luminance": 0.54352
}

Semantic roles & 50–950 ramp

primary
#CDC48C
secondary
#5C65A2
accent
#45B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC48C

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

Preview Lab → · Contrast checker → · Palette generator →

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