#D8EC6C#D8EC6C

#D8EC6C is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.3% C 0.154 H 117.0°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#D8EC6C
RGBrgb(216, 236, 108)
HSLhsl(69, 77%, 67%)
HSVhsv(69, 54%, 93%)
CMYKcmyk(8.5%, 0%, 54.2%, 7.5%)
CIE-LABlab(89.71, -24.30, 58.85)
CIE-LCHlch(89.71, 63.67, 112.43°)
OKLaboklab(90.29% -0.0701 0.1375)
OKLCHoklch(90.29% 0.154 117)
XYZxyz(61.0221, 75.6732, 25.5762)
Luminance0.7567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC6C #806CEC
analogous
#ECC06C #D8EC6C #98EC6C
triadic
#D8EC6C #6CD8EC #EC6CD8
tetradic
#D8EC6C #6CECC0 #806CEC #EC6C98
square
#D8EC6C #6CECC0 #806CEC #EC6C98
split-complementary
#D8EC6C #6C98EC #C06CEC
monochromatic
#AAC419 #CAE536 #D8EC6C #E6F3A2 #F5FAD8

Accessibility & contrast

On white

1.30
#D8EC6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#D8EC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC6C
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC6C#FFFFFF#000000##000000
##D8EC6C1.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15F
Deuteranopia (green-blind)
#F8E274
Tritanopia (blue-blind)
#E3E0D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ec6c;
/* rgb */ color: rgb(216, 236, 108);
/* oklch */ color: oklch(90.3% 0.154 117.0);
Tailwind
colors: {
  custom: {
    50: '#e6f29a',
    500: '#d8ec6c',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec6c;
$custom-light: #e6f29a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec6c",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 69.375,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90286,
    "c": 0.15436,
    "h": 117
  },
  "luminance": 0.75673
}

Semantic roles & 50–950 ramp

primary
#D8EC6C
secondary
#4F3AC2
accent
#0CD92C
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D8EC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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