#D2DC48#D2DC48

#D2DC48 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.0% C 0.166 H 113.2°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#D2DC48
RGBrgb(210, 220, 72)
HSLhsl(64, 68%, 57%)
HSVhsv(64, 67%, 86%)
CMYKcmyk(4.5%, 0%, 67.3%, 13.7%)
CIE-LABlab(84.67, -21.48, 68.17)
CIE-LCHlch(84.67, 71.47, 107.49°)
OKLaboklab(86.04% -0.0654 0.1528)
OKLCHoklch(86.04% 0.166 113.2)
XYZxyz(53.3428, 65.3570, 15.9348)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC48 #5248DC
analogous
#DC9C48 #D2DC48 #88DC48
triadic
#D2DC48 #48D2DC #DC48D2
tetradic
#D2DC48 #48DC9C #5248DC #DC4888
square
#D2DC48 #48DC9C #5248DC #DC4888
split-complementary
#D2DC48 #4888DC #9C48DC
monochromatic
#878E1B #B7C225 #D2DC48 #DFE67B #EBF0AF

Accessibility & contrast

On white

1.49
#D2DC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#D2DC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC48
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC48#FFFFFF#000000##000000
##D2DC481.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD231
Deuteranopia (green-blind)
#ECD553
Tritanopia (blue-blind)
#E0CFBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2dc48;
/* rgb */ color: rgb(210, 220, 72);
/* oklch */ color: oklch(86.0% 0.166 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e683',
    500: '#d2dc48',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc48;
$custom-light: #e3e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc48",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 72
  },
  "hsl": {
    "h": 64.054,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.86044,
    "c": 0.16618,
    "h": 113.2
  },
  "luminance": 0.65356
}

Semantic roles & 50–950 ramp

primary
#D2DC48
secondary
#3B3594
accent
#3DEB49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2DC48

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

Preview Lab → · Contrast checker → · Palette generator →

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