#D4D955#D4D955

#D4D955 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.153 H 111.3°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D4D955
RGBrgb(212, 217, 85)
HSLhsl(62, 63%, 59%)
HSVhsv(62, 61%, 85%)
CMYKcmyk(2.3%, 0%, 60.8%, 14.9%)
CIE-LABlab(84.11, -18.41, 62.48)
CIE-LCHlch(84.11, 65.14, 106.42°)
OKLaboklab(85.67% -0.0555 0.1427)
OKLCHoklch(85.67% 0.153 111.3)
XYZxyz(53.6054, 64.2799, 18.1760)
Luminance0.6428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D955 #5A55D9
analogous
#D99C55 #D4D955 #92D955
triadic
#D4D955 #55D4D9 #D955D4
tetradic
#D4D955 #55D99C #5A55D9 #D95592
square
#D4D955 #55D99C #5A55D9 #D95592
split-complementary
#D4D955 #5592D9 #9C55D9
monochromatic
#8E9321 #BFC52C #D4D955 #E1E487 #EDEFB9

Accessibility & contrast

On white

1.52
#D4D955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D4D955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D955
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D955#FFFFFF#000000##000000
##D4D9551.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D045
Deuteranopia (green-blind)
#E9D45D
Tritanopia (blue-blind)
#E2CDBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4d955;
/* rgb */ color: rgb(212, 217, 85);
/* oklch */ color: oklch(85.7% 0.153 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e48a',
    500: '#d4d955',
    950: '#000000',
  },
}
SCSS
$custom: #d4d955;
$custom-light: #e4e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d955",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 62.273,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85667,
    "c": 0.15309,
    "h": 111.3
  },
  "luminance": 0.64279
}

Semantic roles & 50–950 ramp

primary
#D4D955
secondary
#3E3A98
accent
#41E648
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D955

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

Preview Lab → · Contrast checker → · Palette generator →

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