#D0CD48#D0CD48

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

Color values

HEX#D0CD48
RGBrgb(208, 205, 72)
HSLhsl(59, 59%, 55%)
HSVhsv(59, 65%, 82%)
CMYKcmyk(0%, 1.4%, 65.4%, 18.4%)
CIE-LABlab(80.48, -14.92, 63.86)
CIE-LCHlch(80.48, 65.58, 103.15°)
OKLaboklab(82.66% -0.0468 0.1438)
OKLCHoklch(82.66% 0.151 108)
XYZxyz(49.0151, 57.5419, 14.6544)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD48 #484BD0
analogous
#D08948 #D0CD48 #8FD048
triadic
#D0CD48 #48D0CD #CD48D0
tetradic
#D0CD48 #48D089 #484BD0 #D0488F
square
#D0CD48 #48D089 #484BD0 #D0488F
split-complementary
#D0CD48 #488FD0 #8948D0
monochromatic
#7D7B20 #AEAB2D #D0CD48 #DDDA79 #E9E8A9

Accessibility & contrast

On white

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

On black

12.51
#D0CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD48
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD48#FFFFFF#000000##000000
##D0CD481.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0cd48;
/* rgb */ color: rgb(208, 205, 72);
/* oklch */ color: oklch(82.7% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e2dc82',
    500: '#d0cd48',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd48;
$custom-light: #e2dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd48",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 58.676,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82662,
    "c": 0.15119,
    "h": 108
  },
  "luminance": 0.5754
}

Semantic roles & 50–950 ramp

primary
#D0CD48
secondary
#373985
accent
#49E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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