#CDC48A#CDC48A

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

Color values

HEX#CDC48A
RGBrgb(205, 196, 138)
HSLhsl(52, 40%, 67%)
HSVhsv(52, 33%, 80%)
CMYKcmyk(0%, 4.4%, 32.7%, 19.6%)
CIE-LABlab(78.63, -5.61, 30.31)
CIE-LCHlch(78.63, 30.83, 100.49°)
OKLaboklab(81.38% -0.0139 0.0755)
OKLCHoklch(81.38% 0.077 100.4)
XYZxyz(49.5047, 54.2951, 31.9120)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC48A #8A93CD
analogous
#CDA28A #CDC48A #B5CD8A
triadic
#CDC48A #8ACDC4 #C48ACD
tetradic
#CDC48A #8ACDA2 #8A93CD #CD8AB5
square
#CDC48A #8ACDA2 #8A93CD #CD8AB5
split-complementary
#CDC48A #8AB5CD #A28ACD
monochromatic
#9B8F42 #BBAE5F #CDC48A #DFDAB5 #F2EFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC48A#FFFFFF#000000##000000
##CDC48A1.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)
#CFC086
Deuteranopia (green-blind)
#D2C48C
Tritanopia (blue-blind)
#D7BCB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc48a;
/* rgb */ color: rgb(205, 196, 138);
/* oklch */ color: oklch(81.4% 0.077 100.4);
Tailwind
colors: {
  custom: {
    50: '#ddd5ac',
    500: '#cdc48a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc48a;
$custom-light: #ddd5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc48a",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 138
  },
  "hsl": {
    "h": 51.94,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.81385,
    "c": 0.07675,
    "h": 100.4
  },
  "luminance": 0.54294
}

Semantic roles & 50–950 ramp

primary
#CDC48A
secondary
#5A64A1
accent
#44B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC48A

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

Preview Lab → · Contrast checker → · Palette generator →

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