#D8D050#D8D050

#D8D050 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.147 H 105.7°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D8D050
RGBrgb(216, 208, 80)
HSLhsl(56, 64%, 58%)
HSVhsv(56, 63%, 85%)
CMYKcmyk(0%, 3.7%, 63%, 15.3%)
CIE-LABlab(82.00, -12.61, 62.40)
CIE-LCHlch(82.00, 63.66, 101.43°)
OKLaboklab(84.05% -0.0399 0.1417)
OKLCHoklch(84.05% 0.147 105.7)
XYZxyz(52.3246, 60.2917, 16.4691)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D050 #5058D8
analogous
#D88C50 #D8D050 #9CD850
triadic
#D8D050 #50D8D0 #D050D8
tetradic
#D8D050 #50D88C #5058D8 #D8509C
square
#D8D050 #50D88C #5058D8 #D8509C
split-complementary
#D8D050 #509CD8 #8C50D8
monochromatic
#8E8720 #C0B72B #D8D050 #E3DD82 #EEEBB4

Accessibility & contrast

On white

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

On black

13.06
#D8D050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D050
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D050#FFFFFF#000000##000000
##D8D0501.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C940
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#E7C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d050;
/* rgb */ color: rgb(216, 208, 80);
/* oklch */ color: oklch(84.0% 0.147 105.7);
Tailwind
colors: {
  custom: {
    50: '#e7de87',
    500: '#d8d050',
    950: '#000000',
  },
}
SCSS
$custom: #d8d050;
$custom-light: #e7de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d050",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 80
  },
  "hsl": {
    "h": 56.471,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84045,
    "c": 0.14719,
    "h": 105.7
  },
  "luminance": 0.6029
}

Semantic roles & 50–950 ramp

primary
#D8D050
secondary
#393E94
accent
#4BE741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D050

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

Preview Lab → · Contrast checker → · Palette generator →

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