#D4D752#D4D752

#D4D752 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.2% C 0.153 H 110.5°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D4D752
RGBrgb(212, 215, 82)
HSLhsl(61, 62%, 58%)
HSVhsv(61, 62%, 84%)
CMYKcmyk(1.4%, 0%, 61.9%, 15.7%)
CIE-LABlab(83.55, -17.62, 63.13)
CIE-LCHlch(83.55, 65.54, 105.60°)
OKLaboklab(85.21% -0.0536 0.1436)
OKLCHoklch(85.21% 0.153 110.5)
XYZxyz(52.9764, 63.2085, 17.3908)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D752 #5552D7
analogous
#D79752 #D4D752 #92D752
triadic
#D4D752 #52D4D7 #D752D4
tetradic
#D4D752 #52D797 #5552D7 #D75292
square
#D4D752 #52D797 #5552D7 #D75292
split-complementary
#D4D752 #5292D7 #9752D7
monochromatic
#8B8E21 #BCC02C #D4D752 #E0E284 #EDEEB5

Accessibility & contrast

On white

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

On black

13.64
#D4D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D752
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D752#FFFFFF#000000##000000
##D4D7521.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d752;
/* rgb */ color: rgb(212, 215, 82);
/* oklch */ color: oklch(85.2% 0.153 110.5);
Tailwind
colors: {
  custom: {
    50: '#e4e388',
    500: '#d4d752',
    950: '#000000',
  },
}
SCSS
$custom: #d4d752;
$custom-light: #e4e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d752",
  "rgb": {
    "r": 212,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 61.353,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85213,
    "c": 0.1533,
    "h": 110.5
  },
  "luminance": 0.63207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D752

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

Preview Lab → · Contrast checker → · Palette generator →

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