#D8D44F#D8D44F

#D8D44F is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.9% C 0.152 H 107.6°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D8D44F
RGBrgb(216, 212, 79)
HSLhsl(58, 64%, 58%)
HSVhsv(58, 63%, 85%)
CMYKcmyk(0%, 1.9%, 63.4%, 15.3%)
CIE-LABlab(83.05, -14.67, 63.92)
CIE-LCHlch(83.05, 65.58, 102.93°)
OKLaboklab(84.88% -0.0459 0.1447)
OKLCHoklch(84.88% 0.152 107.6)
XYZxyz(53.2755, 62.2521, 16.6051)
Luminance0.6225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D44F #4F53D8
analogous
#D88F4F #D8D44F #98D84F
triadic
#D8D44F #4FD8D4 #D44FD8
tetradic
#D8D44F #4FD88F #4F53D8 #D84F98
square
#D8D44F #4FD88F #4F53D8 #D84F98
split-complementary
#D8D44F #4F98D8 #8F4FD8
monochromatic
#8D8A1F #BFBB2A #D8D44F #E3E081 #EEECB3

Accessibility & contrast

On white

1.56
#D8D44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D8D44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D44F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D44F#FFFFFF#000000##000000
##D8D44F1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3E
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#E7C7B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d44f;
/* rgb */ color: rgb(216, 212, 79);
/* oklch */ color: oklch(84.9% 0.152 107.6);
Tailwind
colors: {
  custom: {
    50: '#e7e187',
    500: '#d8d44f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d44f;
$custom-light: #e7e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d44f",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 79
  },
  "hsl": {
    "h": 58.248,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8488,
    "c": 0.15183,
    "h": 107.6
  },
  "luminance": 0.6225
}

Semantic roles & 50–950 ramp

primary
#D8D44F
secondary
#383B93
accent
#46E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D44F

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

Preview Lab → · Contrast checker → · Palette generator →

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