#D8D146#D8D146

#D8D146 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.2% C 0.155 H 106.5°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D8D146
RGBrgb(216, 209, 70)
HSLhsl(57, 65%, 56%)
HSVhsv(57, 68%, 85%)
CMYKcmyk(0%, 3.2%, 67.6%, 15.3%)
CIE-LABlab(82.19, -13.69, 66.58)
CIE-LCHlch(82.19, 67.97, 101.62°)
OKLaboklab(84.17% -0.044 0.149)
OKLCHoklch(84.17% 0.155 106.5)
XYZxyz(52.2268, 60.6439, 14.7475)
Luminance0.6064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D146 #464DD8
analogous
#D88846 #D8D146 #96D846
triadic
#D8D146 #46D8D1 #D146D8
tetradic
#D8D146 #46D888 #464DD8 #D84696
square
#D8D146 #46D888 #464DD8 #D84696
split-complementary
#D8D146 #4696D8 #8846D8
monochromatic
#87821C #BAB327 #D8D146 #E3DE79 #EDEAAB

Accessibility & contrast

On white

1.60
#D8D146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#D8D146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D146
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D146#FFFFFF#000000##000000
##D8D1461.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C931
Deuteranopia (green-blind)
#E5CF4F
Tritanopia (blue-blind)
#E7C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d146;
/* rgb */ color: rgb(216, 209, 70);
/* oklch */ color: oklch(84.2% 0.155 106.5);
Tailwind
colors: {
  custom: {
    50: '#e8de81',
    500: '#d8d146',
    950: '#000000',
  },
}
SCSS
$custom: #d8d146;
$custom-light: #e8de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d146",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 70
  },
  "hsl": {
    "h": 57.123,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84173,
    "c": 0.15532,
    "h": 106.5
  },
  "luminance": 0.60642
}

Semantic roles & 50–950 ramp

primary
#D8D146
secondary
#35398D
accent
#48E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D146

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

Preview Lab → · Contrast checker → · Palette generator →

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