#D6D752#D6D752

#D6D752 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.153 H 109.7°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D6D752
RGBrgb(214, 215, 82)
HSLhsl(60, 62%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0.5%, 0%, 61.9%, 15.7%)
CIE-LABlab(83.71, -16.80, 63.34)
CIE-LCHlch(83.71, 65.53, 104.85°)
OKLaboklab(85.38% -0.0514 0.144)
OKLCHoklch(85.38% 0.153 109.7)
XYZxyz(53.5566, 63.5077, 17.4180)
Luminance0.6351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D752 #5352D7
analogous
#D79552 #D6D752 #93D752
triadic
#D6D752 #52D6D7 #D752D6
tetradic
#D6D752 #52D795 #5352D7 #D75293
square
#D6D752 #52D795 #5352D7 #D75293
split-complementary
#D6D752 #5293D7 #9552D7
monochromatic
#8D8E21 #BEC02C #D6D752 #E2E284 #EEEEB5

Accessibility & contrast

On white

1.53
#D6D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D6D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D752
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D752#FFFFFF#000000##000000
##D6D7521.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE41
Deuteranopia (green-blind)
#E9D35A
Tritanopia (blue-blind)
#E4CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d6d752;
/* rgb */ color: rgb(214, 215, 82);
/* oklch */ color: oklch(85.4% 0.153 109.7);
Tailwind
colors: {
  custom: {
    50: '#e6e389',
    500: '#d6d752',
    950: '#000000',
  },
}
SCSS
$custom: #d6d752;
$custom-light: #e6e389;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d752",
  "rgb": {
    "r": 214,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 60.451,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85376,
    "c": 0.15292,
    "h": 109.7
  },
  "luminance": 0.63506
}

Semantic roles & 50–950 ramp

primary
#D6D752
secondary
#3A3A93
accent
#42E644
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D6D752

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

Preview Lab → · Contrast checker → · Palette generator →

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