#D5CD48#D5CD48

#D5CD48 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.151 H 105.9°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D5CD48
RGBrgb(213, 205, 72)
HSLhsl(57, 63%, 56%)
HSVhsv(57, 66%, 84%)
CMYKcmyk(0%, 3.8%, 66.2%, 16.5%)
CIE-LABlab(80.89, -12.83, 64.41)
CIE-LCHlch(80.89, 65.67, 101.26°)
OKLaboklab(83.09% -0.0412 0.1448)
OKLCHoklch(83.09% 0.151 105.9)
XYZxyz(50.4435, 58.2784, 14.7214)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD48 #4850D5
analogous
#D58648 #D5CD48 #96D548
triadic
#D5CD48 #48D5CD #CD48D5
tetradic
#D5CD48 #48D586 #4850D5 #D54896
square
#D5CD48 #48D586 #4850D5 #D54896
split-complementary
#D5CD48 #4896D5 #8648D5
monochromatic
#847E1E #B6AE2A #D5CD48 #E0DB7A #ECE8AC

Accessibility & contrast

On white

1.66
#D5CD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D5CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD48
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD48#FFFFFF#000000##000000
##D5CD481.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC635
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#E4C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd48;
/* rgb */ color: rgb(213, 205, 72);
/* oklch */ color: oklch(83.1% 0.151 105.9);
Tailwind
colors: {
  custom: {
    50: '#e5dc82',
    500: '#d5cd48',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd48;
$custom-light: #e5dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd48",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 56.596,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83088,
    "c": 0.15053,
    "h": 105.9
  },
  "luminance": 0.58277
}

Semantic roles & 50–950 ramp

primary
#D5CD48
secondary
#363B8B
accent
#4BE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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