#D8D256#D8D256

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

Color values

HEX#D8D256
RGBrgb(216, 210, 86)
HSLhsl(57, 63%, 59%)
HSVhsv(57, 60%, 85%)
CMYKcmyk(0%, 2.8%, 60.2%, 15.3%)
CIE-LABlab(82.57, -13.23, 60.49)
CIE-LCHlch(82.57, 61.92, 102.33°)
OKLaboklab(84.52% -0.041 0.1385)
OKLCHoklch(84.52% 0.144 106.5)
XYZxyz(53.0470, 61.3657, 17.8527)
Luminance0.6136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D256 #565CD8
analogous
#D89156 #D8D256 #9DD856
triadic
#D8D256 #56D8D2 #D256D8
tetradic
#D8D256 #56D891 #565CD8 #D8569D
square
#D8D256 #56D891 #565CD8 #D8569D
split-complementary
#D8D256 #569DD8 #9156D8
monochromatic
#928D22 #C4BD2D #D8D256 #E3DF88 #EFECB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D256#FFFFFF#000000##000000
##D8D2561.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)
#E2CB48
Deuteranopia (green-blind)
#E5D05D
Tritanopia (blue-blind)
#E7C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d256;
/* rgb */ color: rgb(216, 210, 86);
/* oklch */ color: oklch(84.5% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#e7df8b',
    500: '#d8d256',
    950: '#000000',
  },
}
SCSS
$custom: #d8d256;
$custom-light: #e7df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d256",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 57.231,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84522,
    "c": 0.14442,
    "h": 106.5
  },
  "luminance": 0.61364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D256

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

Preview Lab → · Contrast checker → · Palette generator →

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