#D4D748#D4D748

#D4D748 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.161 H 110.5°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#D4D748
RGBrgb(212, 215, 72)
HSLhsl(61, 64%, 56%)
HSVhsv(61, 67%, 84%)
CMYKcmyk(1.4%, 0%, 66.5%, 15.7%)
CIE-LABlab(83.48, -18.22, 67.02)
CIE-LCHlch(83.48, 69.45, 105.21°)
OKLaboklab(85.13% -0.0563 0.1503)
OKLCHoklch(85.13% 0.161 110.5)
XYZxyz(52.6232, 63.0672, 15.5308)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D748 #4B48D7
analogous
#D79348 #D4D748 #8DD748
triadic
#D4D748 #48D4D7 #D748D4
tetradic
#D4D748 #48D793 #4B48D7 #D7488D
square
#D4D748 #48D793 #4B48D7 #D7488D
split-complementary
#D4D748 #488DD7 #9348D7
monochromatic
#85871E #B6B929 #D4D748 #E0E27A #ECEDAC

Accessibility & contrast

On white

1.54
#D4D748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#D4D748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D748
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D748#FFFFFF#000000##000000
##D4D7481.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE33
Deuteranopia (green-blind)
#E9D252
Tritanopia (blue-blind)
#E2CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d4d748;
/* rgb */ color: rgb(212, 215, 72);
/* oklch */ color: oklch(85.1% 0.161 110.5);
Tailwind
colors: {
  custom: {
    50: '#e5e383',
    500: '#d4d748',
    950: '#000000',
  },
}
SCSS
$custom: #d4d748;
$custom-light: #e5e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d748",
  "rgb": {
    "r": 212,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 61.259,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8513,
    "c": 0.16052,
    "h": 110.5
  },
  "luminance": 0.63066
}

Semantic roles & 50–950 ramp

primary
#D4D748
secondary
#38368D
accent
#41E744
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D748

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

Preview Lab → · Contrast checker → · Palette generator →

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