#CDC47E#CDC47E

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

Color values

HEX#CDC47E
RGBrgb(205, 196, 126)
HSLhsl(53, 44%, 65%)
HSVhsv(53, 39%, 80%)
CMYKcmyk(0%, 4.4%, 38.5%, 19.6%)
CIE-LABlab(78.44, -7.03, 36.28)
CIE-LCHlch(78.44, 36.95, 100.96°)
OKLaboklab(81.17% -0.0187 0.0889)
OKLCHoklch(81.17% 0.091 101.9)
XYZxyz(48.6835, 53.9666, 27.5867)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC47E #7E87CD
analogous
#CD9D7E #CDC47E #AECD7E
triadic
#CDC47E #7ECDC4 #C47ECD
tetradic
#CDC47E #7ECD9D #7E87CD #CD7EAE
square
#CDC47E #7ECD9D #7E87CD #CD7EAE
split-complementary
#CDC47E #7EAECD #9D7ECD
monochromatic
#968C3A #BCB052 #CDC47E #DED8AA #EFECD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC47E#FFFFFF#000000##000000
##CDC47E1.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)
#D0C079
Deuteranopia (green-blind)
#D3C481
Tritanopia (blue-blind)
#D8BBB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc47e;
/* rgb */ color: rgb(205, 196, 126);
/* oklch */ color: oklch(81.2% 0.091 101.9);
Tailwind
colors: {
  custom: {
    50: '#ddd5a4',
    500: '#cdc47e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc47e;
$custom-light: #ddd5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc47e",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 126
  },
  "hsl": {
    "h": 53.165,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81171,
    "c": 0.09086,
    "h": 101.9
  },
  "luminance": 0.53965
}

Semantic roles & 50–950 ramp

primary
#CDC47E
secondary
#535B9D
accent
#3EB72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC47E

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

Preview Lab → · Contrast checker → · Palette generator →

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