#D0D752#D0D752

#D0D752 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.154 H 112.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D0D752
RGBrgb(208, 215, 82)
HSLhsl(63, 62%, 58%)
HSVhsv(63, 62%, 84%)
CMYKcmyk(3.3%, 0%, 61.9%, 15.7%)
CIE-LABlab(83.24, -19.26, 62.71)
CIE-LCHlch(83.24, 65.60, 107.07°)
OKLaboklab(84.89% -0.058 0.1428)
OKLCHoklch(84.89% 0.154 112.1)
XYZxyz(51.8373, 62.6211, 17.3374)
Luminance0.6262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D752 #5952D7
analogous
#D79B52 #D0D752 #8DD752
triadic
#D0D752 #52D0D7 #D752D0
tetradic
#D0D752 #52D79B #5952D7 #D7528D
square
#D0D752 #52D79B #5952D7 #D7528D
split-complementary
#D0D752 #528DD7 #9B52D7
monochromatic
#888E21 #B8C02C #D0D752 #DEE284 #EBEEB5

Accessibility & contrast

On white

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

On black

13.52
#D0D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D752
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D752#FFFFFF#000000##000000
##D0D7521.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE41
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#DDCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d0d752;
/* rgb */ color: rgb(208, 215, 82);
/* oklch */ color: oklch(84.9% 0.154 112.1);
Tailwind
colors: {
  custom: {
    50: '#e1e388',
    500: '#d0d752',
    950: '#000000',
  },
}
SCSS
$custom: #d0d752;
$custom-light: #e1e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d752",
  "rgb": {
    "r": 208,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 63.158,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8489,
    "c": 0.15414,
    "h": 112.1
  },
  "luminance": 0.6262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0D752

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

Preview Lab → · Contrast checker → · Palette generator →

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