#D4D248#D4D248

#D4D248 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.155 H 108.5°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D4D248
RGBrgb(212, 210, 72)
HSLhsl(59, 62%, 56%)
HSVhsv(59, 66%, 83%)
CMYKcmyk(0%, 0.9%, 66%, 16.9%)
CIE-LABlab(82.14, -15.74, 65.66)
CIE-LCHlch(82.14, 67.52, 103.48°)
OKLaboklab(84.06% -0.0494 0.1475)
OKLCHoklch(84.06% 0.156 108.5)
XYZxyz(51.3694, 60.5597, 15.1129)
Luminance0.6056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D248 #484AD4
analogous
#D48C48 #D4D248 #90D448
triadic
#D4D248 #48D4D2 #D248D4
tetradic
#D4D248 #48D48C #484AD4 #D44890
square
#D4D248 #48D48C #484AD4 #D44890
split-complementary
#D4D248 #4890D4 #8C48D4
monochromatic
#83811F #B4B22A #D4D248 #E0DE7A #EBEAAB

Accessibility & contrast

On white

1.60
#D4D248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D4D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D248
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D248#FFFFFF#000000##000000
##D4D2481.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA34
Deuteranopia (green-blind)
#E5CF51
Tritanopia (blue-blind)
#E3C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d248;
/* rgb */ color: rgb(212, 210, 72);
/* oklch */ color: oklch(84.1% 0.155 108.5);
Tailwind
colors: {
  custom: {
    50: '#e5df82',
    500: '#d4d248',
    950: '#000000',
  },
}
SCSS
$custom: #d4d248;
$custom-light: #e5df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d248",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 59.143,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84063,
    "c": 0.1555,
    "h": 108.5
  },
  "luminance": 0.60558
}

Semantic roles & 50–950 ramp

primary
#D4D248
secondary
#36388A
accent
#45E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D248

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

Preview Lab → · Contrast checker → · Palette generator →

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