#D4D048#D4D048

#D4D048 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.154 H 107.7°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D4D048
RGBrgb(212, 208, 72)
HSLhsl(58, 62%, 56%)
HSVhsv(58, 66%, 83%)
CMYKcmyk(0%, 1.9%, 66%, 16.9%)
CIE-LABlab(81.61, -14.75, 65.11)
CIE-LCHlch(81.61, 66.76, 102.76°)
OKLaboklab(83.64% -0.0466 0.1463)
OKLCHoklch(83.64% 0.154 107.7)
XYZxyz(50.8788, 59.5783, 14.9493)
Luminance0.5958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D048 #484CD4
analogous
#D48A48 #D4D048 #92D448
triadic
#D4D048 #48D4D0 #D048D4
tetradic
#D4D048 #48D48A #484CD4 #D44892
square
#D4D048 #48D48A #484CD4 #D44892
split-complementary
#D4D048 #4892D4 #8A48D4
monochromatic
#83801F #B4B02A #D4D048 #E0DD7A #EBE9AB

Accessibility & contrast

On white

1.63
#D4D048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D4D048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D048
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D048#FFFFFF#000000##000000
##D4D0481.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C835
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#E3C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d048;
/* rgb */ color: rgb(212, 208, 72);
/* oklch */ color: oklch(83.6% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#e5de82',
    500: '#d4d048',
    950: '#000000',
  },
}
SCSS
$custom: #d4d048;
$custom-light: #e5de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d048",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 58.286,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83638,
    "c": 0.15353,
    "h": 107.7
  },
  "luminance": 0.59577
}

Semantic roles & 50–950 ramp

primary
#D4D048
secondary
#36398A
accent
#47E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D048

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

Preview Lab → · Contrast checker → · Palette generator →

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