#D4D855#D4D855

#D4D855 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.152 H 110.9°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D4D855
RGBrgb(212, 216, 85)
HSLhsl(62, 63%, 59%)
HSVhsv(62, 61%, 85%)
CMYKcmyk(1.9%, 0%, 60.6%, 15.3%)
CIE-LABlab(83.84, -17.92, 62.20)
CIE-LCHlch(83.84, 64.72, 106.07°)
OKLaboklab(85.45% -0.0542 0.1421)
OKLCHoklch(85.45% 0.152 110.9)
XYZxyz(53.3484, 63.7659, 18.0904)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D855 #5955D8
analogous
#D89B55 #D4D855 #93D855
triadic
#D4D855 #55D4D8 #D855D4
tetradic
#D4D855 #55D89B #5955D8 #D85593
square
#D4D855 #55D89B #5955D8 #D85593
split-complementary
#D4D855 #5593D8 #9B55D8
monochromatic
#8E9121 #BEC32D #D4D855 #E1E387 #EDEFB9

Accessibility & contrast

On white

1.53
#D4D855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#D4D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D855
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D855#FFFFFF#000000##000000
##D4D8551.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF45
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#E2CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d855;
/* rgb */ color: rgb(212, 216, 85);
/* oklch */ color: oklch(85.5% 0.152 110.9);
Tailwind
colors: {
  custom: {
    50: '#e4e38a',
    500: '#d4d855',
    950: '#000000',
  },
}
SCSS
$custom: #d4d855;
$custom-light: #e4e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d855",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 61.832,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85454,
    "c": 0.15202,
    "h": 110.9
  },
  "luminance": 0.63765
}

Semantic roles & 50–950 ramp

primary
#D4D855
secondary
#3E3B96
accent
#42E647
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D855

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

Preview Lab → · Contrast checker → · Palette generator →

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