#D3D752#D3D752

#D3D752 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.153 H 110.9°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#D3D752
RGBrgb(211, 215, 82)
HSLhsl(62, 62%, 58%)
HSVhsv(62, 62%, 84%)
CMYKcmyk(1.9%, 0%, 61.9%, 15.7%)
CIE-LABlab(83.47, -18.03, 63.02)
CIE-LCHlch(83.47, 65.55, 105.97°)
OKLaboklab(85.13% -0.0547 0.1434)
OKLCHoklch(85.13% 0.154 110.9)
XYZxyz(52.6889, 63.0602, 17.3773)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D752 #5652D7
analogous
#D79952 #D3D752 #90D752
triadic
#D3D752 #52D3D7 #D752D3
tetradic
#D3D752 #52D799 #5652D7 #D75290
square
#D3D752 #52D799 #5652D7 #D75290
split-complementary
#D3D752 #5290D7 #9952D7
monochromatic
#8B8E21 #BBC02C #D3D752 #E0E284 #ECEEB5

Accessibility & contrast

On white

1.54
#D3D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#D3D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D752
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D752#FFFFFF#000000##000000
##D3D7521.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE41
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#E1CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d3d752;
/* rgb */ color: rgb(211, 215, 82);
/* oklch */ color: oklch(85.1% 0.153 110.9);
Tailwind
colors: {
  custom: {
    50: '#e3e388',
    500: '#d3d752',
    950: '#000000',
  },
}
SCSS
$custom: #d3d752;
$custom-light: #e3e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d752",
  "rgb": {
    "r": 211,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 61.805,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85132,
    "c": 0.1535,
    "h": 110.9
  },
  "luminance": 0.63059
}

Semantic roles & 50–950 ramp

primary
#D3D752
secondary
#3C3A93
accent
#42E647
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D752

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

Preview Lab → · Contrast checker → · Palette generator →

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