#D8D255#D8D255

#D8D255 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.145 H 106.5°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D8D255
RGBrgb(216, 210, 85)
HSLhsl(57, 63%, 59%)
HSVhsv(57, 61%, 85%)
CMYKcmyk(0%, 2.8%, 60.6%, 15.3%)
CIE-LABlab(82.57, -13.29, 60.91)
CIE-LCHlch(82.57, 62.34, 102.31°)
OKLaboklab(84.51% -0.0413 0.1392)
OKLCHoklch(84.51% 0.145 106.5)
XYZxyz(53.0070, 61.3497, 17.6420)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D255 #555BD8
analogous
#D89155 #D8D255 #9DD855
triadic
#D8D255 #55D8D2 #D255D8
tetradic
#D8D255 #55D891 #555BD8 #D8559D
square
#D8D255 #55D891 #555BD8 #D8559D
split-complementary
#D8D255 #559DD8 #9155D8
monochromatic
#918C21 #C3BC2D #D8D255 #E3DF87 #EFECB9

Accessibility & contrast

On white

1.58
#D8D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#D8D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D255
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D255#FFFFFF#000000##000000
##D8D2551.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB46
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#E7C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d255;
/* rgb */ color: rgb(216, 210, 85);
/* oklch */ color: oklch(84.5% 0.145 106.5);
Tailwind
colors: {
  custom: {
    50: '#e7df8a',
    500: '#d8d255',
    950: '#000000',
  },
}
SCSS
$custom: #d8d255;
$custom-light: #e7df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d255",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 57.252,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84512,
    "c": 0.14523,
    "h": 106.5
  },
  "luminance": 0.61348
}

Semantic roles & 50–950 ramp

primary
#D8D255
secondary
#3B3F96
accent
#4AE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D255

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

Preview Lab → · Contrast checker → · Palette generator →

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