#D7DC48#D7DC48

#D7DC48 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.4% C 0.165 H 111.3°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#D7DC48
RGBrgb(215, 220, 72)
HSLhsl(62, 68%, 57%)
HSVhsv(62, 67%, 86%)
CMYKcmyk(2.3%, 0%, 67.3%, 13.7%)
CIE-LABlab(85.05, -19.43, 68.68)
CIE-LCHlch(85.05, 71.37, 105.80°)
OKLaboklab(86.44% -0.0599 0.1537)
OKLCHoklch(86.44% 0.165 111.3)
XYZxyz(54.7889, 66.1027, 16.0026)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC48 #4D48DC
analogous
#DC9748 #D7DC48 #8DDC48
triadic
#D7DC48 #48D7DC #DC48D7
tetradic
#D7DC48 #48DC97 #4D48DC #DC488D
square
#D7DC48 #48DC97 #4D48DC #DC488D
split-complementary
#D7DC48 #488DDC #9748DC
monochromatic
#8A8E1B #BCC225 #D7DC48 #E2E67B #EDF0AF

Accessibility & contrast

On white

1.48
#D7DC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#D7DC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC48
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC48#FFFFFF#000000##000000
##D7DC481.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD231
Deuteranopia (green-blind)
#EDD653
Tritanopia (blue-blind)
#E5CFBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7dc48;
/* rgb */ color: rgb(215, 220, 72);
/* oklch */ color: oklch(86.4% 0.165 111.3);
Tailwind
colors: {
  custom: {
    50: '#e7e683',
    500: '#d7dc48',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc48;
$custom-light: #e7e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc48",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 72
  },
  "hsl": {
    "h": 62.027,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.86443,
    "c": 0.16498,
    "h": 111.3
  },
  "luminance": 0.66101
}

Semantic roles & 50–950 ramp

primary
#D7DC48
secondary
#383594
accent
#3DEB43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7DC48

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

Preview Lab → · Contrast checker → · Palette generator →

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