#D5D155#D5D155

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

Color values

HEX#D5D155
RGBrgb(213, 209, 85)
HSLhsl(58, 60%, 58%)
HSVhsv(58, 60%, 84%)
CMYKcmyk(0%, 1.9%, 60.1%, 16.5%)
CIE-LABlab(82.06, -14.03, 60.29)
CIE-LCHlch(82.06, 61.90, 103.10°)
OKLaboklab(84.05% -0.0432 0.138)
OKLCHoklch(84.05% 0.145 107.4)
XYZxyz(51.8824, 60.4045, 17.5188)
Luminance0.6040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D155 #5559D5
analogous
#D59155 #D5D155 #99D555
triadic
#D5D155 #55D5D1 #D155D5
tetradic
#D5D155 #55D591 #5559D5 #D55599
square
#D5D155 #55D591 #5559D5 #D55599
split-complementary
#D5D155 #5599D5 #9155D5
monochromatic
#8D8923 #BEB92F #D5D155 #E1DE86 #EDECB7

Accessibility & contrast

On white

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

On black

13.08
#D5D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D155
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D155#FFFFFF#000000##000000
##D5D1551.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d155;
/* rgb */ color: rgb(213, 209, 85);
/* oklch */ color: oklch(84.0% 0.145 107.4);
Tailwind
colors: {
  custom: {
    50: '#e5de8a',
    500: '#d5d155',
    950: '#000000',
  },
}
SCSS
$custom: #d5d155;
$custom-light: #e5de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d155",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 58.125,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84048,
    "c": 0.14459,
    "h": 107.4
  },
  "luminance": 0.60403
}

Semantic roles & 50–950 ramp

primary
#D5D155
secondary
#3C3E93
accent
#49E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D155

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

Preview Lab → · Contrast checker → · Palette generator →

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