#D3CC48#D3CC48

#D3CC48 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.150 H 106.3°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D3CC48
RGBrgb(211, 204, 72)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 66%, 83%)
CMYKcmyk(0%, 3.3%, 65.9%, 17.3%)
CIE-LABlab(80.46, -13.16, 63.91)
CIE-LCHlch(80.46, 65.25, 101.64°)
OKLaboklab(82.7% -0.042 0.1438)
OKLCHoklch(82.7% 0.15 106.3)
XYZxyz(49.6284, 57.5042, 14.6148)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC48 #484FD3
analogous
#D38648 #D3CC48 #95D348
triadic
#D3CC48 #48D3CC #CC48D3
tetradic
#D3CC48 #48D386 #484FD3 #D34895
square
#D3CC48 #48D386 #484FD3 #D34895
split-complementary
#D3CC48 #4895D3 #8648D3
monochromatic
#817D1F #B3AC2B #D3CC48 #DFDA79 #EBE7AB

Accessibility & contrast

On white

1.68
#D3CC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#D3CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC48
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC48#FFFFFF#000000##000000
##D3CC481.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3cc48;
/* rgb */ color: rgb(211, 204, 72);
/* oklch */ color: oklch(82.7% 0.150 106.3);
Tailwind
colors: {
  custom: {
    50: '#e4db82',
    500: '#d3cc48',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc48;
$custom-light: #e4db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc48",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 56.978,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82704,
    "c": 0.14982,
    "h": 106.3
  },
  "luminance": 0.57502
}

Semantic roles & 50–950 ramp

primary
#D3CC48
secondary
#373B89
accent
#4CE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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