#D8D46A#D8D46A

#D8D46A is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.2% C 0.129 H 106.9°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D8D46A
RGBrgb(216, 212, 106)
HSLhsl(58, 59%, 63%)
HSVhsv(58, 51%, 85%)
CMYKcmyk(0%, 1.9%, 50.9%, 15.3%)
CIE-LABlab(83.30, -12.71, 52.32)
CIE-LCHlch(83.30, 53.84, 103.66°)
OKLaboklab(85.16% -0.0374 0.1232)
OKLCHoklch(85.16% 0.129 106.9)
XYZxyz(54.4653, 62.7280, 22.8715)
Luminance0.6273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D46A #6A6ED8
analogous
#D89D6A #D8D46A #A5D86A
triadic
#D8D46A #6AD8D4 #D46AD8
tetradic
#D8D46A #6AD89D #6A6ED8 #D86AA5
square
#D8D46A #6AD89D #6A6ED8 #D86AA5
split-complementary
#D8D46A #6AA5D8 #9D6AD8
monochromatic
#9E9A29 #CBC639 #D8D46A #E5E29B #F1F0CB

Accessibility & contrast

On white

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

On black

13.55
#D8D46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D46A
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D46A#FFFFFF#000000##000000
##D8D46A1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD60
Deuteranopia (green-blind)
#E5D26F
Tritanopia (blue-blind)
#E5C8BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d46a;
/* rgb */ color: rgb(216, 212, 106);
/* oklch */ color: oklch(85.2% 0.129 106.9);
Tailwind
colors: {
  custom: {
    50: '#e6e197',
    500: '#d8d46a',
    950: '#000000',
  },
}
SCSS
$custom: #d8d46a;
$custom-light: #e6e197;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d46a",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 106
  },
  "hsl": {
    "h": 57.818,
    "s": 58.511,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85162,
    "c": 0.12876,
    "h": 106.9
  },
  "luminance": 0.62727
}

Semantic roles & 50–950 ramp

primary
#D8D46A
secondary
#4447A2
accent
#25C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D46A

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

Preview Lab → · Contrast checker → · Palette generator →

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