#CDC47D#CDC47D

#CDC47D is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.092 H 102.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CDC47D
RGBrgb(205, 196, 125)
HSLhsl(53, 44%, 65%)
HSVhsv(53, 39%, 80%)
CMYKcmyk(0%, 4.4%, 39%, 19.6%)
CIE-LABlab(78.43, -7.14, 36.77)
CIE-LCHlch(78.43, 37.46, 100.98°)
OKLaboklab(81.16% -0.0191 0.09)
OKLCHoklch(81.16% 0.092 102)
XYZxyz(48.6193, 53.9410, 27.2486)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC47D #7D86CD
analogous
#CD9C7D #CDC47D #AECD7D
triadic
#CDC47D #7DCDC4 #C47DCD
tetradic
#CDC47D #7DCD9C #7D86CD #CD7DAE
square
#CDC47D #7DCD9C #7D86CD #CD7DAE
split-complementary
#CDC47D #7DAECD #9C7DCD
monochromatic
#968C3A #BCB051 #CDC47D #DED8A9 #EFECD5

Accessibility & contrast

On white

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

On black

11.79
#CDC47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC47D
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC47D#FFFFFF#000000##000000
##CDC47D1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc47d;
/* rgb */ color: rgb(205, 196, 125);
/* oklch */ color: oklch(81.2% 0.092 102.0);
Tailwind
colors: {
  custom: {
    50: '#ddd5a3',
    500: '#cdc47d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc47d;
$custom-light: #ddd5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc47d",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 125
  },
  "hsl": {
    "h": 53.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81155,
    "c": 0.09201,
    "h": 102
  },
  "luminance": 0.5394
}

Semantic roles & 50–950 ramp

primary
#CDC47D
secondary
#525A9C
accent
#3DB82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC47D

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

Preview Lab → · Contrast checker → · Palette generator →

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