#D8DC3F#D8DC3F

#D8DC3F is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.5% C 0.170 H 110.9°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#D8DC3F
RGBrgb(216, 220, 63)
HSLhsl(62, 69%, 55%)
HSVhsv(62, 71%, 86%)
CMYKcmyk(1.8%, 0%, 71.4%, 13.7%)
CIE-LABlab(85.07, -19.47, 71.94)
CIE-LCHlch(85.07, 74.52, 105.15°)
OKLaboklab(86.46% -0.0609 0.1591)
OKLCHoklch(86.46% 0.17 110.9)
XYZxyz(54.8112, 66.1457, 14.5818)
Luminance0.6614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC3F #433FDC
analogous
#DC923F #D8DC3F #89DC3F
triadic
#D8DC3F #3FD8DC #DC3FD8
tetradic
#D8DC3F #3FDC92 #433FDC #DC3F89
square
#D8DC3F #3FDC92 #433FDC #DC3F89
split-complementary
#D8DC3F #3F89DC #923FDC
monochromatic
#858819 #B8BC22 #D8DC3F #E3E573 #EDEFA7

Accessibility & contrast

On white

1.48
#D8DC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#D8DC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC3F
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC3F#FFFFFF#000000##000000
##D8DC3F1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD221
Deuteranopia (green-blind)
#EED74B
Tritanopia (blue-blind)
#E7CEBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8dc3f;
/* rgb */ color: rgb(216, 220, 63);
/* oklch */ color: oklch(86.5% 0.170 110.9);
Tailwind
colors: {
  custom: {
    50: '#e8e67f',
    500: '#d8dc3f',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc3f;
$custom-light: #e8e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc3f",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 63
  },
  "hsl": {
    "h": 61.529,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.86461,
    "c": 0.17034,
    "h": 110.9
  },
  "luminance": 0.66144
}

Semantic roles & 50–950 ramp

primary
#D8DC3F
secondary
#34318E
accent
#3CEC40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D8DC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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