#D8DE3F#D8DE3F

#D8DE3F is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 86.9% C 0.172 H 111.7°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#D8DE3F
RGBrgb(216, 222, 63)
HSLhsl(62, 71%, 56%)
HSVhsv(62, 72%, 87%)
CMYKcmyk(2.7%, 0%, 71.6%, 12.9%)
CIE-LABlab(85.61, -20.44, 72.45)
CIE-LCHlch(85.61, 75.28, 105.76°)
OKLaboklab(86.89% -0.0636 0.1602)
OKLCHoklch(86.89% 0.172 111.7)
XYZxyz(55.3392, 67.2018, 14.7578)
Luminance0.6720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DE3F #453FDE
analogous
#DE943F #D8DE3F #88DE3F
triadic
#D8DE3F #3FD8DE #DE3FD8
tetradic
#D8DE3F #3FDE94 #453FDE #DE3F88
square
#D8DE3F #3FDE94 #453FDE #DE3F88
split-complementary
#D8DE3F #3F88DE #943FDE
monochromatic
#868B18 #B9BF21 #D8DE3F #E3E773 #EDF0A7

Accessibility & contrast

On white

1.45
#D8DE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#D8DE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DE3F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DE3F#FFFFFF#000000##000000
##D8DE3F1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD420
Deuteranopia (green-blind)
#F0D84C
Tritanopia (blue-blind)
#E7D0BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8de3f;
/* rgb */ color: rgb(216, 222, 63);
/* oklch */ color: oklch(86.9% 0.172 111.7);
Tailwind
colors: {
  custom: {
    50: '#e8e87f',
    500: '#d8de3f',
    950: '#000000',
  },
}
SCSS
$custom: #d8de3f;
$custom-light: #e8e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8de3f",
  "rgb": {
    "r": 216,
    "g": 222,
    "b": 63
  },
  "hsl": {
    "h": 62.264,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86889,
    "c": 0.17233,
    "h": 111.7
  },
  "luminance": 0.672
}

Semantic roles & 50–950 ramp

primary
#D8DE3F
secondary
#343190
accent
#3AED41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #D8DE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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