#D8D155#D8D155

#D8D155 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.144 H 106.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D8D155
RGBrgb(216, 209, 85)
HSLhsl(57, 63%, 59%)
HSVhsv(57, 61%, 85%)
CMYKcmyk(0%, 3.2%, 60.6%, 15.3%)
CIE-LABlab(82.30, -12.79, 60.62)
CIE-LCHlch(82.30, 61.96, 101.92°)
OKLaboklab(84.3% -0.0399 0.1386)
OKLCHoklch(84.3% 0.144 106.1)
XYZxyz(52.7608, 60.8575, 17.5600)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D155 #555CD8
analogous
#D89055 #D8D155 #9ED855
triadic
#D8D155 #55D8D1 #D155D8
tetradic
#D8D155 #55D890 #555CD8 #D8559E
square
#D8D155 #55D890 #555CD8 #D8559E
split-complementary
#D8D155 #559ED8 #9055D8
monochromatic
#918B21 #C3BB2D #D8D155 #E3DE87 #EFECB9

Accessibility & contrast

On white

1.59
#D8D155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#D8D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D155
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D155#FFFFFF#000000##000000
##D8D1551.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA47
Deuteranopia (green-blind)
#E5CF5C
Tritanopia (blue-blind)
#E7C4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d155;
/* rgb */ color: rgb(216, 209, 85);
/* oklch */ color: oklch(84.3% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#e7de8a',
    500: '#d8d155',
    950: '#000000',
  },
}
SCSS
$custom: #d8d155;
$custom-light: #e7de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d155",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 56.794,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84302,
    "c": 0.14425,
    "h": 106.1
  },
  "luminance": 0.60856
}

Semantic roles & 50–950 ramp

primary
#D8D155
secondary
#3B4096
accent
#4BE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D155

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

Preview Lab → · Contrast checker → · Palette generator →

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