#D8D350#D8D350

#D8D350 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.7% C 0.150 H 107.1°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D8D350
RGBrgb(216, 211, 80)
HSLhsl(58, 64%, 58%)
HSVhsv(58, 63%, 85%)
CMYKcmyk(0%, 2.3%, 63%, 15.3%)
CIE-LABlab(82.79, -14.11, 63.24)
CIE-LCHlch(82.79, 64.79, 102.58°)
OKLaboklab(84.68% -0.0442 0.1435)
OKLCHoklch(84.68% 0.15 107.1)
XYZxyz(53.0630, 61.7683, 16.7152)
Luminance0.6177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D350 #5055D8
analogous
#D88F50 #D8D350 #99D850
triadic
#D8D350 #50D8D3 #D350D8
tetradic
#D8D350 #50D88F #5055D8 #D85099
square
#D8D350 #50D88F #5055D8 #D85099
split-complementary
#D8D350 #5099D8 #8F50D8
monochromatic
#8E8A20 #C0BB2B #D8D350 #E3E082 #EEECB4

Accessibility & contrast

On white

1.57
#D8D350 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#D8D350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D350
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D350#FFFFFF#000000##000000
##D8D3501.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3F
Deuteranopia (green-blind)
#E6D158
Tritanopia (blue-blind)
#E7C6B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d350;
/* rgb */ color: rgb(216, 211, 80);
/* oklch */ color: oklch(84.7% 0.150 107.1);
Tailwind
colors: {
  custom: {
    50: '#e7e087',
    500: '#d8d350',
    950: '#000000',
  },
}
SCSS
$custom: #d8d350;
$custom-light: #e7e087;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d350",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 80
  },
  "hsl": {
    "h": 57.794,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84678,
    "c": 0.15011,
    "h": 107.1
  },
  "luminance": 0.61767
}

Semantic roles & 50–950 ramp

primary
#D8D350
secondary
#393C94
accent
#47E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D350

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

Preview Lab → · Contrast checker → · Palette generator →

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