#D7D748#D7D748

#D7D748 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.160 H 109.4°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D7D748
RGBrgb(215, 215, 72)
HSLhsl(60, 64%, 56%)
HSVhsv(60, 67%, 84%)
CMYKcmyk(0%, 0%, 66.5%, 15.7%)
CIE-LABlab(83.71, -16.98, 67.33)
CIE-LCHlch(83.71, 69.44, 104.15°)
OKLaboklab(85.38% -0.053 0.1509)
OKLCHoklch(85.38% 0.16 109.4)
XYZxyz(53.4963, 63.5174, 15.5717)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D748 #4848D7
analogous
#D79048 #D7D748 #90D748
triadic
#D7D748 #48D7D7 #D748D7
tetradic
#D7D748 #48D790 #4848D7 #D74890
square
#D7D748 #48D790 #4848D7 #D74890
split-complementary
#D7D748 #4890D7 #9048D7
monochromatic
#87871E #B9B929 #D7D748 #E2E27A #EDEDAC

Accessibility & contrast

On white

1.53
#D7D748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D7D748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D748
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D748#FFFFFF#000000##000000
##D7D7481.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE33
Deuteranopia (green-blind)
#EAD352
Tritanopia (blue-blind)
#E6CABA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d748;
/* rgb */ color: rgb(215, 215, 72);
/* oklch */ color: oklch(85.4% 0.160 109.4);
Tailwind
colors: {
  custom: {
    50: '#e7e383',
    500: '#d7d748',
    950: '#000000',
  },
}
SCSS
$custom: #d7d748;
$custom-light: #e7e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d748",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85376,
    "c": 0.15993,
    "h": 109.4
  },
  "luminance": 0.63516
}

Semantic roles & 50–950 ramp

primary
#D7D748
secondary
#36368D
accent
#41E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D748

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

Preview Lab → · Contrast checker → · Palette generator →

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