#D7D051#D7D051

#D7D051 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.0% C 0.147 H 106.1°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D7D051
RGBrgb(215, 208, 81)
HSLhsl(57, 63%, 58%)
HSVhsv(57, 62%, 84%)
CMYKcmyk(0%, 3.3%, 62.3%, 15.7%)
CIE-LABlab(81.92, -12.96, 61.88)
CIE-LCHlch(81.92, 63.22, 101.83°)
OKLaboklab(83.97% -0.0407 0.1407)
OKLCHoklch(83.97% 0.147 106.1)
XYZxyz(52.0672, 60.1546, 16.6513)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D051 #5158D7
analogous
#D78D51 #D7D051 #9BD751
triadic
#D7D051 #51D7D0 #D051D7
tetradic
#D7D051 #51D78D #5158D7 #D7519B
square
#D7D051 #51D78D #5158D7 #D7519B
split-complementary
#D7D051 #519BD7 #8D51D7
monochromatic
#8D8720 #BFB72C #D7D051 #E2DD83 #EEEBB5

Accessibility & contrast

On white

1.61
#D7D051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#D7D051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D051
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D051#FFFFFF#000000##000000
##D7D0511.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E4CE59
Tritanopia (blue-blind)
#E6C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d051;
/* rgb */ color: rgb(215, 208, 81);
/* oklch */ color: oklch(84.0% 0.147 106.1);
Tailwind
colors: {
  custom: {
    50: '#e6de87',
    500: '#d7d051',
    950: '#000000',
  },
}
SCSS
$custom: #d7d051;
$custom-light: #e6de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d051",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 81
  },
  "hsl": {
    "h": 56.866,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83969,
    "c": 0.14653,
    "h": 106.1
  },
  "luminance": 0.60153
}

Semantic roles & 50–950 ramp

primary
#D7D051
secondary
#393E93
accent
#4BE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D051

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

Preview Lab → · Contrast checker → · Palette generator →

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