#D4CD48#D4CD48

#D4CD48 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.151 H 106.3°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D4CD48
RGBrgb(212, 205, 72)
HSLhsl(57, 62%, 56%)
HSVhsv(57, 66%, 83%)
CMYKcmyk(0%, 3.3%, 66%, 16.9%)
CIE-LABlab(80.81, -13.25, 64.30)
CIE-LCHlch(80.81, 65.65, 101.64°)
OKLaboklab(83% -0.0423 0.1446)
OKLCHoklch(83% 0.151 106.3)
XYZxyz(50.1542, 58.1293, 14.7078)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD48 #484FD4
analogous
#D48748 #D4CD48 #95D448
triadic
#D4CD48 #48D4CD #CD48D4
tetradic
#D4CD48 #48D487 #484FD4 #D44895
square
#D4CD48 #48D487 #484FD4 #D44895
split-complementary
#D4CD48 #4895D4 #8748D4
monochromatic
#837E1F #B4AE2A #D4CD48 #E0DB7A #EBE8AB

Accessibility & contrast

On white

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

On black

12.63
#D4CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD48
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD48#FFFFFF#000000##000000
##D4CD481.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cd48;
/* rgb */ color: rgb(212, 205, 72);
/* oklch */ color: oklch(83.0% 0.151 106.3);
Tailwind
colors: {
  custom: {
    50: '#e5dc82',
    500: '#d4cd48',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd48;
$custom-light: #e5dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd48",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 57,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83002,
    "c": 0.15065,
    "h": 106.3
  },
  "luminance": 0.58128
}

Semantic roles & 50–950 ramp

primary
#D4CD48
secondary
#363B8A
accent
#4BE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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