#D5D855#D5D855

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

Color values

HEX#D5D855
RGBrgb(213, 216, 85)
HSLhsl(61, 63%, 59%)
HSVhsv(61, 61%, 85%)
CMYKcmyk(1.4%, 0%, 60.6%, 15.3%)
CIE-LABlab(83.92, -17.51, 62.30)
CIE-LCHlch(83.92, 64.72, 105.70°)
OKLaboklab(85.54% -0.0531 0.1422)
OKLCHoklch(85.54% 0.152 110.5)
XYZxyz(53.6377, 63.9151, 18.1039)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D855 #5855D8
analogous
#D89A55 #D5D855 #94D855
triadic
#D5D855 #55D5D8 #D855D5
tetradic
#D5D855 #55D89A #5855D8 #D85594
square
#D5D855 #55D89A #5855D8 #D85594
split-complementary
#D5D855 #5594D8 #9A55D8
monochromatic
#8F9121 #C0C32D #D5D855 #E1E387 #EEEFB9

Accessibility & contrast

On white

1.52
#D5D855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D5D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D855
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D855#FFFFFF#000000##000000
##D5D8551.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d855;
/* rgb */ color: rgb(213, 216, 85);
/* oklch */ color: oklch(85.5% 0.152 110.5);
Tailwind
colors: {
  custom: {
    50: '#e5e38a',
    500: '#d5d855',
    950: '#000000',
  },
}
SCSS
$custom: #d5d855;
$custom-light: #e5e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d855",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 61.374,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85535,
    "c": 0.15182,
    "h": 110.5
  },
  "luminance": 0.63914
}

Semantic roles & 50–950 ramp

primary
#D5D855
secondary
#3D3B96
accent
#42E646
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D855

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

Preview Lab → · Contrast checker → · Palette generator →

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