#D8D450#D8D450

#D8D450 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.9% C 0.151 H 107.6°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D8D450
RGBrgb(216, 212, 80)
HSLhsl(58, 64%, 58%)
HSVhsv(58, 63%, 85%)
CMYKcmyk(0%, 1.9%, 63%, 15.3%)
CIE-LABlab(83.06, -14.61, 63.52)
CIE-LCHlch(83.06, 65.18, 102.95°)
OKLaboklab(84.89% -0.0456 0.1441)
OKLCHoklch(84.89% 0.151 107.6)
XYZxyz(53.3122, 62.2667, 16.7983)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D450 #5054D8
analogous
#D89050 #D8D450 #98D850
triadic
#D8D450 #50D8D4 #D450D8
tetradic
#D8D450 #50D890 #5054D8 #D85098
square
#D8D450 #50D890 #5054D8 #D85098
split-complementary
#D8D450 #5098D8 #9050D8
monochromatic
#8E8B20 #C0BC2B #D8D450 #E3E082 #EEEDB4

Accessibility & contrast

On white

1.56
#D8D450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D8D450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D450
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D450#FFFFFF#000000##000000
##D8D4501.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3F
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#E7C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d450;
/* rgb */ color: rgb(216, 212, 80);
/* oklch */ color: oklch(84.9% 0.151 107.6);
Tailwind
colors: {
  custom: {
    50: '#e7e187',
    500: '#d8d450',
    950: '#000000',
  },
}
SCSS
$custom: #d8d450;
$custom-light: #e7e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d450",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 80
  },
  "hsl": {
    "h": 58.235,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84889,
    "c": 0.15109,
    "h": 107.6
  },
  "luminance": 0.62265
}

Semantic roles & 50–950 ramp

primary
#D8D450
secondary
#393B94
accent
#46E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D450

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

Preview Lab → · Contrast checker → · Palette generator →

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