#D5CC48#D5CC48

#D5CC48 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.150 H 105.4°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D5CC48
RGBrgb(213, 204, 72)
HSLhsl(56, 63%, 56%)
HSVhsv(56, 66%, 84%)
CMYKcmyk(0%, 4.2%, 66.2%, 16.5%)
CIE-LABlab(80.63, -12.32, 64.14)
CIE-LCHlch(80.63, 65.31, 100.88°)
OKLaboklab(82.88% -0.0398 0.1442)
OKLCHoklch(82.88% 0.15 105.4)
XYZxyz(50.2050, 57.8015, 14.6419)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC48 #4851D5
analogous
#D58548 #D5CC48 #97D548
triadic
#D5CC48 #48D5CC #CC48D5
tetradic
#D5CC48 #48D585 #4851D5 #D54897
square
#D5CC48 #48D585 #4851D5 #D54897
split-complementary
#D5CC48 #4897D5 #8548D5
monochromatic
#847E1E #B6AD2A #D5CC48 #E0DA7A #ECE8AC

Accessibility & contrast

On white

1.67
#D5CC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#D5CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC48
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC48#FFFFFF#000000##000000
##D5CC481.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC536
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#E4BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc48;
/* rgb */ color: rgb(213, 204, 72);
/* oklch */ color: oklch(82.9% 0.150 105.4);
Tailwind
colors: {
  custom: {
    50: '#e5db82',
    500: '#d5cc48',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc48;
$custom-light: #e5db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc48",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 56.17,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82877,
    "c": 0.1496,
    "h": 105.4
  },
  "luminance": 0.578
}

Semantic roles & 50–950 ramp

primary
#D5CC48
secondary
#363C8B
accent
#4DE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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