#D4D255#D4D255

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

Color values

HEX#D4D255
RGBrgb(212, 210, 85)
HSLhsl(59, 60%, 58%)
HSVhsv(59, 60%, 83%)
CMYKcmyk(0%, 0.9%, 59.9%, 16.9%)
CIE-LABlab(82.24, -14.94, 60.46)
CIE-LCHlch(82.24, 62.28, 103.88°)
OKLaboklab(84.18% -0.0457 0.1384)
OKLCHoklch(84.18% 0.146 108.3)
XYZxyz(51.8393, 60.7476, 17.5873)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D255 #5557D4
analogous
#D49255 #D4D255 #96D455
triadic
#D4D255 #55D4D2 #D255D4
tetradic
#D4D255 #55D492 #5557D4 #D45596
square
#D4D255 #55D492 #5557D4 #D45596
split-complementary
#D4D255 #5596D4 #9255D4
monochromatic
#8B8A23 #BCBA30 #D4D255 #E0DF86 #EDECB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D255#FFFFFF#000000##000000
##D4D2551.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)
#E2CA46
Deuteranopia (green-blind)
#E4CF5C
Tritanopia (blue-blind)
#E2C6B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d255;
/* rgb */ color: rgb(212, 210, 85);
/* oklch */ color: oklch(84.2% 0.146 108.3);
Tailwind
colors: {
  custom: {
    50: '#e4df8a',
    500: '#d4d255',
    950: '#000000',
  },
}
SCSS
$custom: #d4d255;
$custom-light: #e4df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d255",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 59.055,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84176,
    "c": 0.14575,
    "h": 108.3
  },
  "luminance": 0.60746
}

Semantic roles & 50–950 ramp

primary
#D4D255
secondary
#3C3D91
accent
#47E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D255

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

Preview Lab → · Contrast checker → · Palette generator →

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