#D7D548#D7D548

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

Color values

HEX#D7D548
RGBrgb(215, 213, 72)
HSLhsl(59, 64%, 56%)
HSVhsv(59, 67%, 84%)
CMYKcmyk(0%, 0.9%, 66.5%, 15.7%)
CIE-LABlab(83.18, -15.99, 66.79)
CIE-LCHlch(83.18, 68.68, 103.46°)
OKLaboklab(84.95% -0.0502 0.1498)
OKLCHoklch(84.95% 0.158 108.5)
XYZxyz(52.9901, 62.5051, 15.4030)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D548 #484AD7
analogous
#D78E48 #D7D548 #92D748
triadic
#D7D548 #48D7D5 #D548D7
tetradic
#D7D548 #48D78E #484AD7 #D74892
square
#D7D548 #48D78E #484AD7 #D74892
split-complementary
#D7D548 #4892D7 #8E48D7
monochromatic
#87861E #B9B729 #D7D548 #E2E17A #EDECAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D548#FFFFFF#000000##000000
##D7D5481.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)
#E6CD33
Deuteranopia (green-blind)
#E8D152
Tritanopia (blue-blind)
#E6C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d548;
/* rgb */ color: rgb(215, 213, 72);
/* oklch */ color: oklch(85.0% 0.158 108.5);
Tailwind
colors: {
  custom: {
    50: '#e7e183',
    500: '#d7d548',
    950: '#000000',
  },
}
SCSS
$custom: #d7d548;
$custom-light: #e7e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d548",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 59.161,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84951,
    "c": 0.15795,
    "h": 108.5
  },
  "luminance": 0.62503
}

Semantic roles & 50–950 ramp

primary
#D7D548
secondary
#36378D
accent
#43E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D548

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

Preview Lab → · Contrast checker → · Palette generator →

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