#CDC48B#CDC48B

#CDC48B is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.076 H 100.3°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CDC48B
RGBrgb(205, 196, 139)
HSLhsl(52, 40%, 67%)
HSVhsv(52, 32%, 80%)
CMYKcmyk(0%, 4.4%, 32.2%, 19.6%)
CIE-LABlab(78.65, -5.49, 29.81)
CIE-LCHlch(78.65, 30.31, 100.43°)
OKLaboklab(81.4% -0.0135 0.0743)
OKLCHoklch(81.4% 0.076 100.3)
XYZxyz(49.5775, 54.3242, 32.2951)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC48B #8B94CD
analogous
#CDA38B #CDC48B #B5CD8B
triadic
#CDC48B #8BCDC4 #C48BCD
tetradic
#CDC48B #8BCDA3 #8B94CD #CD8BB5
square
#CDC48B #8BCDA3 #8B94CD #CD8BB5
split-complementary
#CDC48B #8BB5CD #A38BCD
monochromatic
#9B8F43 #BBAE60 #CDC48B #DFDAB6 #F2F0E1

Accessibility & contrast

On white

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

On black

11.86
#CDC48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC48B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC48B#FFFFFF#000000##000000
##CDC48B1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc48b;
/* rgb */ color: rgb(205, 196, 139);
/* oklch */ color: oklch(81.4% 0.076 100.3);
Tailwind
colors: {
  custom: {
    50: '#ddd5ad',
    500: '#cdc48b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc48b;
$custom-light: #ddd5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc48b",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 139
  },
  "hsl": {
    "h": 51.818,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.81404,
    "c": 0.07555,
    "h": 100.3
  },
  "luminance": 0.54323
}

Semantic roles & 50–950 ramp

primary
#CDC48B
secondary
#5B65A1
accent
#44B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC48B

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

Preview Lab → · Contrast checker → · Palette generator →

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