#D7DC51#D7DC51

#D7DC51 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.5% C 0.159 H 111.3°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#D7DC51
RGBrgb(215, 220, 81)
HSLhsl(62, 67%, 59%)
HSVhsv(62, 63%, 86%)
CMYKcmyk(2.3%, 0%, 63.2%, 13.7%)
CIE-LABlab(85.11, -18.91, 65.25)
CIE-LCHlch(85.11, 67.94, 106.16°)
OKLaboklab(86.52% -0.0575 0.1479)
OKLCHoklch(86.52% 0.159 111.3)
XYZxyz(55.1043, 66.2289, 17.6637)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC51 #5651DC
analogous
#DC9C51 #D7DC51 #92DC51
triadic
#D7DC51 #51D7DC #DC51D7
tetradic
#D7DC51 #51DC9C #5651DC #DC5192
square
#D7DC51 #51DC9C #5651DC #DC5192
split-complementary
#D7DC51 #5192DC #9C51DC
monochromatic
#90951E #C2C828 #D7DC51 #E3E684 #EEF0B7

Accessibility & contrast

On white

1.47
#D7DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#D7DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC51
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC51#FFFFFF#000000##000000
##D7DC511.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33F
Deuteranopia (green-blind)
#EDD65A
Tritanopia (blue-blind)
#E5CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc51;
/* rgb */ color: rgb(215, 220, 81);
/* oklch */ color: oklch(86.5% 0.159 111.3);
Tailwind
colors: {
  custom: {
    50: '#e6e688',
    500: '#d7dc51',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc51;
$custom-light: #e6e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc51",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 62.158,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86515,
    "c": 0.15869,
    "h": 111.3
  },
  "luminance": 0.66228
}

Semantic roles & 50–950 ramp

primary
#D7DC51
secondary
#3B3899
accent
#3EE945
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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