#D2D648#D2D648

#D2D648 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.8% C 0.160 H 110.9°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D2D648
RGBrgb(210, 214, 72)
HSLhsl(62, 63%, 56%)
HSVhsv(62, 66%, 84%)
CMYKcmyk(1.9%, 0%, 66.4%, 16.1%)
CIE-LABlab(83.05, -18.55, 66.53)
CIE-LCHlch(83.05, 69.07, 105.58°)
OKLaboklab(84.75% -0.0571 0.1494)
OKLCHoklch(84.75% 0.16 110.9)
XYZxyz(51.7962, 62.2640, 15.4193)
Luminance0.6226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D648 #4C48D6
analogous
#D69348 #D2D648 #8BD648
triadic
#D2D648 #48D2D6 #D648D2
tetradic
#D2D648 #48D693 #4C48D6 #D6488B
square
#D2D648 #48D693 #4C48D6 #D6488B
split-complementary
#D2D648 #488BD6 #9348D6
monochromatic
#83861E #B4B829 #D2D648 #DEE17A #EBECAC

Accessibility & contrast

On white

1.56
#D2D648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D2D648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D648
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D648#FFFFFF#000000##000000
##D2D6481.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD33
Deuteranopia (green-blind)
#E7D152
Tritanopia (blue-blind)
#E0C9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d648;
/* rgb */ color: rgb(210, 214, 72);
/* oklch */ color: oklch(84.8% 0.160 110.9);
Tailwind
colors: {
  custom: {
    50: '#e3e283',
    500: '#d2d648',
    950: '#000000',
  },
}
SCSS
$custom: #d2d648;
$custom-light: #e3e283;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d648",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 72
  },
  "hsl": {
    "h": 61.69,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84753,
    "c": 0.15991,
    "h": 110.9
  },
  "luminance": 0.62263
}

Semantic roles & 50–950 ramp

primary
#D2D648
secondary
#38368C
accent
#41E646
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D648

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

Preview Lab → · Contrast checker → · Palette generator →

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