#D4D256#D4D256

#D4D256 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.145 H 108.3°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#D4D256
RGBrgb(212, 210, 86)
HSLhsl(59, 59%, 58%)
HSVhsv(59, 59%, 83%)
CMYKcmyk(0%, 0.9%, 59.4%, 16.9%)
CIE-LABlab(82.25, -14.88, 60.05)
CIE-LCHlch(82.25, 61.86, 103.91°)
OKLaboklab(84.19% -0.0454 0.1376)
OKLCHoklch(84.19% 0.145 108.3)
XYZxyz(51.8793, 60.7636, 17.7980)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D256 #5658D4
analogous
#D49356 #D4D256 #97D456
triadic
#D4D256 #56D4D2 #D256D4
tetradic
#D4D256 #56D493 #5658D4 #D45697
square
#D4D256 #56D493 #5658D4 #D45697
split-complementary
#D4D256 #5697D4 #9356D4
monochromatic
#8C8A24 #BDBB30 #D4D256 #E0DF87 #EDECB8

Accessibility & contrast

On white

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

On black

13.15
#D4D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D256
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D256#FFFFFF#000000##000000
##D4D2561.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA48
Deuteranopia (green-blind)
#E4CF5D
Tritanopia (blue-blind)
#E2C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d256;
/* rgb */ color: rgb(212, 210, 86);
/* oklch */ color: oklch(84.2% 0.145 108.3);
Tailwind
colors: {
  custom: {
    50: '#e4df8b',
    500: '#d4d256',
    950: '#000000',
  },
}
SCSS
$custom: #d4d256;
$custom-light: #e4df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d256",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 59.048,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84186,
    "c": 0.14494,
    "h": 108.3
  },
  "luminance": 0.60762
}

Semantic roles & 50–950 ramp

primary
#D4D256
secondary
#3C3E92
accent
#48E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D256

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

Preview Lab → · Contrast checker → · Palette generator →

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