#D8D046#D8D046

#D8D046 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.0% C 0.154 H 106.0°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D8D046
RGBrgb(216, 208, 70)
HSLhsl(57, 65%, 56%)
HSVhsv(57, 68%, 85%)
CMYKcmyk(0%, 3.7%, 67.6%, 15.3%)
CIE-LABlab(81.92, -13.19, 66.31)
CIE-LCHlch(81.92, 67.61, 101.25°)
OKLaboklab(83.96% -0.0426 0.1484)
OKLCHoklch(83.96% 0.154 106)
XYZxyz(51.9823, 60.1547, 14.6660)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D046 #464ED8
analogous
#D88746 #D8D046 #97D846
triadic
#D8D046 #46D8D0 #D046D8
tetradic
#D8D046 #46D887 #464ED8 #D84697
square
#D8D046 #46D887 #464ED8 #D84697
split-complementary
#D8D046 #4697D8 #8746D8
monochromatic
#87811C #BAB227 #D8D046 #E3DD79 #EDEAAB

Accessibility & contrast

On white

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

On black

13.03
#D8D046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D046
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D046#FFFFFF#000000##000000
##D8D0461.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C832
Deuteranopia (green-blind)
#E5CE4F
Tritanopia (blue-blind)
#E7C2B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d046;
/* rgb */ color: rgb(216, 208, 70);
/* oklch */ color: oklch(84.0% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e8de81',
    500: '#d8d046',
    950: '#000000',
  },
}
SCSS
$custom: #d8d046;
$custom-light: #e8de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d046",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 70
  },
  "hsl": {
    "h": 56.712,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83963,
    "c": 0.15437,
    "h": 106
  },
  "luminance": 0.60153
}

Semantic roles & 50–950 ramp

primary
#D8D046
secondary
#353A8D
accent
#49E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D046

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

Preview Lab → · Contrast checker → · Palette generator →

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