#D7D451#D7D451

#D7D451 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.150 H 108.0°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#D7D451
RGBrgb(215, 212, 81)
HSLhsl(59, 63%, 58%)
HSVhsv(59, 62%, 84%)
CMYKcmyk(0%, 1.4%, 62.3%, 15.7%)
CIE-LABlab(82.98, -14.96, 63.01)
CIE-LCHlch(82.98, 64.76, 103.36°)
OKLaboklab(84.81% -0.0464 0.1431)
OKLCHoklch(84.81% 0.15 108)
XYZxyz(53.0548, 62.1297, 16.9805)
Luminance0.6213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D451 #5154D7
analogous
#D79151 #D7D451 #97D751
triadic
#D7D451 #51D7D4 #D451D7
tetradic
#D7D451 #51D791 #5154D7 #D75197
square
#D7D451 #51D791 #5154D7 #D75197
split-complementary
#D7D451 #5197D7 #9151D7
monochromatic
#8D8B20 #BFBC2C #D7D451 #E2E083 #EEEDB5

Accessibility & contrast

On white

1.56
#D7D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#D7D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D451
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D451#FFFFFF#000000##000000
##D7D4511.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC41
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#E6C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d451;
/* rgb */ color: rgb(215, 212, 81);
/* oklch */ color: oklch(84.8% 0.150 108.0);
Tailwind
colors: {
  custom: {
    50: '#e6e188',
    500: '#d7d451',
    950: '#000000',
  },
}
SCSS
$custom: #d7d451;
$custom-light: #e6e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d451",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 58.657,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84814,
    "c": 0.15048,
    "h": 108
  },
  "luminance": 0.62128
}

Semantic roles & 50–950 ramp

primary
#D7D451
secondary
#393B93
accent
#46E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D451

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

Preview Lab → · Contrast checker → · Palette generator →

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