#D8EC46#D8EC46

#D8EC46 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.0% C 0.183 H 116.2°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#D8EC46
RGBrgb(216, 236, 70)
HSLhsl(67, 81%, 60%)
HSVhsv(67, 70%, 93%)
CMYKcmyk(8.5%, 0%, 70.3%, 7.5%)
CIE-LABlab(89.41, -26.81, 73.74)
CIE-LCHlch(89.41, 78.46, 109.98°)
OKLaboklab(89.95% -0.0807 0.164)
OKLCHoklch(89.95% 0.183 116.2)
XYZxyz(59.4213, 75.0329, 17.1457)
Luminance0.7503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC46 #5A46EC
analogous
#ECAD46 #D8EC46 #85EC46
triadic
#D8EC46 #46D8EC #EC46D8
tetradic
#D8EC46 #46ECAD #5A46EC #EC4685
square
#D8EC46 #46ECAD #5A46EC #EC4685
split-complementary
#D8EC46 #4685EC #AD46EC
monochromatic
#95A711 #C6DE17 #D8EC46 #E4F27D #EFF7B5

Accessibility & contrast

On white

1.31
#D8EC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#D8EC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC46
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC46#FFFFFF#000000##000000
##D8EC461.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE028
Deuteranopia (green-blind)
#FAE253
Tritanopia (blue-blind)
#E5DFCC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ec46;
/* rgb */ color: rgb(216, 236, 70);
/* oklch */ color: oklch(90.0% 0.183 116.2);
Tailwind
colors: {
  custom: {
    50: '#e8f284',
    500: '#d8ec46',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec46;
$custom-light: #e8f284;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec46",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 70
  },
  "hsl": {
    "h": 67.229,
    "s": 81.373,
    "l": 60
  },
  "oklch": {
    "l": 0.8995,
    "c": 0.18282,
    "h": 116.2
  },
  "luminance": 0.75032
}

Semantic roles & 50–950 ramp

primary
#D8EC46
secondary
#3D2EA8
accent
#30F848
background
#FFFFFC
surface
#FEFEF3
border
#D6D6CD
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8EC46

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

Preview Lab → · Contrast checker → · Palette generator →

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