#CDC48E#CDC48E

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

Color values

HEX#CDC48E
RGBrgb(205, 196, 142)
HSLhsl(51, 39%, 68%)
HSVhsv(51, 31%, 80%)
CMYKcmyk(0%, 4.4%, 30.7%, 19.6%)
CIE-LABlab(78.70, -5.11, 28.31)
CIE-LCHlch(78.70, 28.77, 100.23°)
OKLaboklab(81.46% -0.0122 0.0709)
OKLCHoklch(81.46% 0.072 99.8)
XYZxyz(49.7997, 54.4131, 33.4654)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC48E #8E97CD
analogous
#CDA48E #CDC48E #B6CD8E
triadic
#CDC48E #8ECDC4 #C48ECD
tetradic
#CDC48E #8ECDA4 #8E97CD #CD8EB6
square
#CDC48E #8ECDA4 #8E97CD #CD8EB6
split-complementary
#CDC48E #8EB6CD #A48ECD
monochromatic
#9C8F45 #BAAE64 #CDC48E #E0DAB8 #F3F0E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC48E#FFFFFF#000000##000000
##CDC48E1.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)
#CEC18A
Deuteranopia (green-blind)
#D1C490
Tritanopia (blue-blind)
#D6BCB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc48e;
/* rgb */ color: rgb(205, 196, 142);
/* oklch */ color: oklch(81.5% 0.072 99.8);
Tailwind
colors: {
  custom: {
    50: '#ddd5af',
    500: '#cdc48e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc48e;
$custom-light: #ddd5af;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc48e",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 142
  },
  "hsl": {
    "h": 51.429,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.81462,
    "c": 0.0719,
    "h": 99.8
  },
  "luminance": 0.54412
}

Semantic roles & 50–950 ramp

primary
#CDC48E
secondary
#5D67A2
accent
#46B234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC48E

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

Preview Lab → · Contrast checker → · Palette generator →

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