#D4D456#D4D456

#D4D456 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.6% C 0.147 H 109.2°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D4D456
RGBrgb(212, 212, 86)
HSLhsl(60, 59%, 58%)
HSVhsv(60, 59%, 83%)
CMYKcmyk(0%, 0%, 59.4%, 16.9%)
CIE-LABlab(82.78, -15.87, 60.63)
CIE-LCHlch(82.78, 62.67, 104.67°)
OKLaboklab(84.61% -0.0483 0.1389)
OKLCHoklch(84.61% 0.147 109.2)
XYZxyz(52.3761, 61.7573, 17.9636)
Luminance0.6176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D456 #5656D4
analogous
#D49556 #D4D456 #95D456
triadic
#D4D456 #56D4D4 #D456D4
tetradic
#D4D456 #56D495 #5656D4 #D45695
square
#D4D456 #56D495 #5656D4 #D45695
split-complementary
#D4D456 #5695D4 #9556D4
monochromatic
#8C8C24 #BDBD30 #D4D456 #E0E087 #EDEDB8

Accessibility & contrast

On white

1.57
#D4D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#D4D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D456
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D456#FFFFFF#000000##000000
##D4D4561.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC47
Deuteranopia (green-blind)
#E5D05D
Tritanopia (blue-blind)
#E2C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d456;
/* rgb */ color: rgb(212, 212, 86);
/* oklch */ color: oklch(84.6% 0.147 109.2);
Tailwind
colors: {
  custom: {
    50: '#e4e18b',
    500: '#d4d456',
    950: '#000000',
  },
}
SCSS
$custom: #d4d456;
$custom-light: #e4e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d456",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84611,
    "c": 0.14701,
    "h": 109.2
  },
  "luminance": 0.61756
}

Semantic roles & 50–950 ramp

primary
#D4D456
secondary
#3C3C92
accent
#45E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D456

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

Preview Lab → · Contrast checker → · Palette generator →

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