#D7D546#D7D546

#D7D546 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.9% C 0.159 H 108.6°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D7D546
RGBrgb(215, 213, 70)
HSLhsl(59, 64%, 56%)
HSVhsv(59, 67%, 84%)
CMYKcmyk(0%, 0.9%, 67.4%, 15.7%)
CIE-LABlab(83.17, -16.10, 67.54)
CIE-LCHlch(83.17, 69.43, 103.40°)
OKLaboklab(84.94% -0.0507 0.151)
OKLCHoklch(84.94% 0.159 108.6)
XYZxyz(52.9259, 62.4794, 15.0649)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D546 #4648D7
analogous
#D78C46 #D7D546 #91D746
triadic
#D7D546 #46D7D5 #D546D7
tetradic
#D7D546 #46D78C #4648D7 #D74691
square
#D7D546 #46D78C #4648D7 #D74691
split-complementary
#D7D546 #4691D7 #8C46D7
monochromatic
#86841D #B8B628 #D7D546 #E2E078 #EDECAB

Accessibility & contrast

On white

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

On black

13.50
#D7D546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D546
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D546#FFFFFF#000000##000000
##D7D5461.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC30
Deuteranopia (green-blind)
#E8D150
Tritanopia (blue-blind)
#E6C8B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d546;
/* rgb */ color: rgb(215, 213, 70);
/* oklch */ color: oklch(84.9% 0.159 108.6);
Tailwind
colors: {
  custom: {
    50: '#e7e182',
    500: '#d7d546',
    950: '#000000',
  },
}
SCSS
$custom: #d7d546;
$custom-light: #e7e182;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d546",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 70
  },
  "hsl": {
    "h": 59.172,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84936,
    "c": 0.15929,
    "h": 108.6
  },
  "luminance": 0.62478
}

Semantic roles & 50–950 ramp

primary
#D7D546
secondary
#35368C
accent
#43E740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D546

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

Preview Lab → · Contrast checker → · Palette generator →

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