#D4D848#D4D848

#D4D848 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.162 H 110.9°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#D4D848
RGBrgb(212, 216, 72)
HSLhsl(62, 65%, 56%)
HSVhsv(62, 67%, 85%)
CMYKcmyk(1.9%, 0%, 66.7%, 15.3%)
CIE-LABlab(83.75, -18.71, 67.29)
CIE-LCHlch(83.75, 69.84, 105.54°)
OKLaboklab(85.34% -0.0577 0.1509)
OKLCHoklch(85.34% 0.162 110.9)
XYZxyz(52.8786, 63.5780, 15.6159)
Luminance0.6358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D848 #4C48D8
analogous
#D89448 #D4D848 #8CD848
triadic
#D4D848 #48D4D8 #D848D4
tetradic
#D4D848 #48D894 #4C48D8 #D8488C
square
#D4D848 #48D894 #4C48D8 #D8488C
split-complementary
#D4D848 #488CD8 #9448D8
monochromatic
#86891D #B7BB28 #D4D848 #E0E37A #ECEEAD

Accessibility & contrast

On white

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

On black

13.72
#D4D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D848
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D848#FFFFFF#000000##000000
##D4D8481.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF33
Deuteranopia (green-blind)
#E9D352
Tritanopia (blue-blind)
#E2CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d848;
/* rgb */ color: rgb(212, 216, 72);
/* oklch */ color: oklch(85.3% 0.162 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e383',
    500: '#d4d848',
    950: '#000000',
  },
}
SCSS
$custom: #d4d848;
$custom-light: #e5e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d848",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 61.667,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85344,
    "c": 0.16154,
    "h": 110.9
  },
  "luminance": 0.63577
}

Semantic roles & 50–950 ramp

primary
#D4D848
secondary
#38368F
accent
#40E845
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D848

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

Preview Lab → · Contrast checker → · Palette generator →

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