#D5D752#D5D752

#D5D752 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.153 H 110.1°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#D5D752
RGBrgb(213, 215, 82)
HSLhsl(61, 62%, 58%)
HSVhsv(61, 62%, 84%)
CMYKcmyk(0.9%, 0%, 61.9%, 15.7%)
CIE-LABlab(83.63, -17.21, 63.23)
CIE-LCHlch(83.63, 65.53, 105.23°)
OKLaboklab(85.29% -0.0525 0.1438)
OKLCHoklch(85.29% 0.153 110.1)
XYZxyz(53.2656, 63.3576, 17.4044)
Luminance0.6336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D752 #5452D7
analogous
#D79652 #D5D752 #92D752
triadic
#D5D752 #52D5D7 #D752D5
tetradic
#D5D752 #52D796 #5452D7 #D75292
square
#D5D752 #52D796 #5452D7 #D75292
split-complementary
#D5D752 #5292D7 #9652D7
monochromatic
#8C8E21 #BDC02C #D5D752 #E1E284 #EDEEB5

Accessibility & contrast

On white

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

On black

13.67
#D5D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D752
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D752#FFFFFF#000000##000000
##D5D7521.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d752;
/* rgb */ color: rgb(213, 215, 82);
/* oklch */ color: oklch(85.3% 0.153 110.1);
Tailwind
colors: {
  custom: {
    50: '#e5e388',
    500: '#d5d752',
    950: '#000000',
  },
}
SCSS
$custom: #d5d752;
$custom-light: #e5e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d752",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 60.902,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85294,
    "c": 0.1531,
    "h": 110.1
  },
  "luminance": 0.63356
}

Semantic roles & 50–950 ramp

primary
#D5D752
secondary
#3B3A93
accent
#42E645
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D752

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

Preview Lab → · Contrast checker → · Palette generator →

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