#CDC47B#CDC47B

#CDC47B is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.094 H 102.2°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CDC47B
RGBrgb(205, 196, 123)
HSLhsl(53, 45%, 64%)
HSVhsv(53, 40%, 80%)
CMYKcmyk(0%, 4.4%, 40%, 19.6%)
CIE-LABlab(78.40, -7.36, 37.76)
CIE-LCHlch(78.40, 38.47, 101.03°)
OKLaboklab(81.12% -0.0199 0.0922)
OKLCHoklch(81.12% 0.094 102.2)
XYZxyz(48.4928, 53.8904, 26.5825)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC47B #7B84CD
analogous
#CD9B7B #CDC47B #ADCD7B
triadic
#CDC47B #7BCDC4 #C47BCD
tetradic
#CDC47B #7BCD9B #7B84CD #CD7BAD
square
#CDC47B #7BCD9B #7B84CD #CD7BAD
split-complementary
#CDC47B #7BADCD #9B7BCD
monochromatic
#958B38 #BCB04F #CDC47B #DED8A7 #EFECD4

Accessibility & contrast

On white

1.78
#CDC47B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CDC47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC47B
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC47B#FFFFFF#000000##000000
##CDC47B1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF75
Deuteranopia (green-blind)
#D3C47E
Tritanopia (blue-blind)
#D8BBB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc47b;
/* rgb */ color: rgb(205, 196, 123);
/* oklch */ color: oklch(81.1% 0.094 102.2);
Tailwind
colors: {
  custom: {
    50: '#ddd5a2',
    500: '#cdc47b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc47b;
$custom-light: #ddd5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc47b",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 123
  },
  "hsl": {
    "h": 53.415,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81121,
    "c": 0.09429,
    "h": 102.2
  },
  "luminance": 0.53889
}

Semantic roles & 50–950 ramp

primary
#CDC47B
secondary
#51599B
accent
#3DB82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC47B

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

Preview Lab → · Contrast checker → · Palette generator →

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