#D1D752#D1D752

#D1D752 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.154 H 111.7°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D1D752
RGBrgb(209, 215, 82)
HSLhsl(63, 62%, 58%)
HSVhsv(63, 62%, 84%)
CMYKcmyk(2.8%, 0%, 61.9%, 15.7%)
CIE-LABlab(83.32, -18.85, 62.81)
CIE-LCHlch(83.32, 65.58, 106.70°)
OKLaboklab(84.97% -0.0569 0.143)
OKLCHoklch(84.97% 0.154 111.7)
XYZxyz(52.1194, 62.7666, 17.3506)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D752 #5852D7
analogous
#D79A52 #D1D752 #8ED752
triadic
#D1D752 #52D1D7 #D752D1
tetradic
#D1D752 #52D79A #5852D7 #D7528E
square
#D1D752 #52D79A #5852D7 #D7528E
split-complementary
#D1D752 #528ED7 #9A52D7
monochromatic
#898E21 #B9C02C #D1D752 #DEE284 #EBEEB5

Accessibility & contrast

On white

1.55
#D1D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#D1D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D752
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D752#FFFFFF#000000##000000
##D1D7521.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE41
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#DECBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d752;
/* rgb */ color: rgb(209, 215, 82);
/* oklch */ color: oklch(85.0% 0.154 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e388',
    500: '#d1d752',
    950: '#000000',
  },
}
SCSS
$custom: #d1d752;
$custom-light: #e2e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d752",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 62.707,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8497,
    "c": 0.15392,
    "h": 111.7
  },
  "luminance": 0.62765
}

Semantic roles & 50–950 ramp

primary
#D1D752
secondary
#3E3A93
accent
#42E64A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D752

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

Preview Lab → · Contrast checker → · Palette generator →

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