#CDC48D#CDC48D

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

Color values

HEX#CDC48D
RGBrgb(205, 196, 141)
HSLhsl(52, 39%, 68%)
HSVhsv(52, 31%, 80%)
CMYKcmyk(0%, 4.4%, 31.2%, 19.6%)
CIE-LABlab(78.68, -5.24, 28.81)
CIE-LCHlch(78.68, 29.28, 100.30°)
OKLaboklab(81.44% -0.0126 0.072)
OKLCHoklch(81.44% 0.073 100)
XYZxyz(49.7249, 54.3832, 33.0717)
Luminance0.5438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC48D #8D96CD
analogous
#CDA48D #CDC48D #B6CD8D
triadic
#CDC48D #8DCDC4 #C48DCD
tetradic
#CDC48D #8DCDA4 #8D96CD #CD8DB6
square
#CDC48D #8DCDA4 #8D96CD #CD8DB6
split-complementary
#CDC48D #8DB6CD #A48DCD
monochromatic
#9B8F44 #BAAE62 #CDC48D #E0DAB8 #F2F0E2

Accessibility & contrast

On white

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

On black

11.88
#CDC48D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC48D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC48D#FFFFFF#000000##000000
##CDC48D1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC189
Deuteranopia (green-blind)
#D1C48F
Tritanopia (blue-blind)
#D7BCB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc48d;
/* rgb */ color: rgb(205, 196, 141);
/* oklch */ color: oklch(81.4% 0.073 100.0);
Tailwind
colors: {
  custom: {
    50: '#ddd5ae',
    500: '#cdc48d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc48d;
$custom-light: #ddd5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc48d",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 141
  },
  "hsl": {
    "h": 51.563,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.81442,
    "c": 0.07312,
    "h": 100
  },
  "luminance": 0.54382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC48D

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

Preview Lab → · Contrast checker → · Palette generator →

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