#D8D46D#D8D46D

#D8D46D is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.2% C 0.126 H 106.8°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#D8D46D
RGBrgb(216, 212, 109)
HSLhsl(58, 58%, 64%)
HSVhsv(58, 50%, 85%)
CMYKcmyk(0%, 1.9%, 49.5%, 15.3%)
CIE-LABlab(83.33, -12.45, 50.94)
CIE-LCHlch(83.33, 52.44, 103.74°)
OKLaboklab(85.2% -0.0364 0.1205)
OKLCHoklch(85.2% 0.126 106.8)
XYZxyz(54.6240, 62.7915, 23.7076)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D46D #6D71D8
analogous
#D89E6D #D8D46D #A6D86D
triadic
#D8D46D #6DD8D4 #D46DD8
tetradic
#D8D46D #6DD89E #6D71D8 #D86DA6
square
#D8D46D #6DD89E #6D71D8 #D86DA6
split-complementary
#D8D46D #6DA6D8 #9E6DD8
monochromatic
#A09C2B #CBC63D #D8D46D #E5E29D #F2F0CE

Accessibility & contrast

On white

1.55
#D8D46D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#D8D46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D46D
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D46D#FFFFFF#000000##000000
##D8D46D1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD64
Deuteranopia (green-blind)
#E5D272
Tritanopia (blue-blind)
#E5C9BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d46d;
/* rgb */ color: rgb(216, 212, 109);
/* oklch */ color: oklch(85.2% 0.126 106.8);
Tailwind
colors: {
  custom: {
    50: '#e6e199',
    500: '#d8d46d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d46d;
$custom-light: #e6e199;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d46d",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 109
  },
  "hsl": {
    "h": 57.757,
    "s": 57.838,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85199,
    "c": 0.12586,
    "h": 106.8
  },
  "luminance": 0.6279
}

Semantic roles & 50–950 ramp

primary
#D8D46D
secondary
#4549A4
accent
#26C520
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D46D

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

Preview Lab → · Contrast checker → · Palette generator →

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