#D7DD48#D7DD48

#D7DD48 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.7% C 0.166 H 111.7°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#D7DD48
RGBrgb(215, 221, 72)
HSLhsl(62, 69%, 57%)
HSVhsv(62, 67%, 87%)
CMYKcmyk(2.7%, 0%, 67.4%, 13.3%)
CIE-LABlab(85.32, -19.92, 68.95)
CIE-LCHlch(85.32, 71.77, 106.12°)
OKLaboklab(86.66% -0.0613 0.1543)
OKLCHoklch(86.66% 0.166 111.7)
XYZxyz(55.0522, 66.6292, 16.0903)
Luminance0.6663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD48 #4E48DD
analogous
#DD9848 #D7DD48 #8DDD48
triadic
#D7DD48 #48D7DD #DD48D7
tetradic
#D7DD48 #48DD98 #4E48DD #DD488D
square
#D7DD48 #48DD98 #4E48DD #DD488D
split-complementary
#D7DD48 #488DDD #9848DD
monochromatic
#8B901B #BDC324 #D7DD48 #E2E77C #EEF0AF

Accessibility & contrast

On white

1.47
#D7DD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#D7DD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD48
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD48#FFFFFF#000000##000000
##D7DD481.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED331
Deuteranopia (green-blind)
#EED753
Tritanopia (blue-blind)
#E5D0BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dd48;
/* rgb */ color: rgb(215, 221, 72);
/* oklch */ color: oklch(86.7% 0.166 111.7);
Tailwind
colors: {
  custom: {
    50: '#e7e783',
    500: '#d7dd48',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd48;
$custom-light: #e7e783;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd48",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 72
  },
  "hsl": {
    "h": 62.416,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86657,
    "c": 0.16601,
    "h": 111.7
  },
  "luminance": 0.66628
}

Semantic roles & 50–950 ramp

primary
#D7DD48
secondary
#383495
accent
#3CEC43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D7DD48

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

Preview Lab → · Contrast checker → · Palette generator →

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