#D4D155#D4D155

#D4D155 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.145 H 107.8°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#D4D155
RGBrgb(212, 209, 85)
HSLhsl(59, 60%, 58%)
HSVhsv(59, 60%, 83%)
CMYKcmyk(0%, 1.4%, 59.9%, 16.9%)
CIE-LABlab(81.98, -14.44, 60.17)
CIE-LCHlch(81.98, 61.88, 103.50°)
OKLaboklab(83.96% -0.0443 0.1378)
OKLCHoklch(83.96% 0.145 107.8)
XYZxyz(51.5932, 60.2554, 17.5053)
Luminance0.6025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D155 #5558D4
analogous
#D49155 #D4D155 #97D455
triadic
#D4D155 #55D4D1 #D155D4
tetradic
#D4D155 #55D491 #5558D4 #D45597
square
#D4D155 #55D491 #5558D4 #D45597
split-complementary
#D4D155 #5597D4 #9155D4
monochromatic
#8B8923 #BCB930 #D4D155 #E0DE86 #EDEBB7

Accessibility & contrast

On white

1.61
#D4D155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#D4D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D155
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D155#FFFFFF#000000##000000
##D4D1551.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C947
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#E2C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d155;
/* rgb */ color: rgb(212, 209, 85);
/* oklch */ color: oklch(84.0% 0.145 107.8);
Tailwind
colors: {
  custom: {
    50: '#e4de8a',
    500: '#d4d155',
    950: '#000000',
  },
}
SCSS
$custom: #d4d155;
$custom-light: #e4de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d155",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 58.583,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83964,
    "c": 0.14473,
    "h": 107.8
  },
  "luminance": 0.60254
}

Semantic roles & 50–950 ramp

primary
#D4D155
secondary
#3C3E91
accent
#49E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D155

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

Preview Lab → · Contrast checker → · Palette generator →

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