#D6EC51#D6EC51

#D6EC51 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 89.9% C 0.176 H 117.0°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#D6EC51
RGBrgb(214, 236, 81)
HSLhsl(69, 80%, 62%)
HSVhsv(69, 66%, 93%)
CMYKcmyk(9.3%, 0%, 65.7%, 7.5%)
CIE-LABlab(89.34, -27.01, 69.62)
CIE-LCHlch(89.34, 74.68, 111.20°)
OKLaboklab(89.88% -0.0801 0.1571)
OKLCHoklch(89.88% 0.176 117)
XYZxyz(59.2135, 74.8818, 19.1173)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6EC51 #6751EC
analogous
#ECB451 #D6EC51 #89EC51
triadic
#D6EC51 #51D6EC #EC51D6
tetradic
#D6EC51 #51ECB4 #6751EC #EC5189
square
#D6EC51 #51ECB4 #6751EC #EC5189
split-complementary
#D6EC51 #5189EC #B451EC
monochromatic
#99AF13 #C9E61A #D6EC51 #E3F288 #F0F8BF

Accessibility & contrast

On white

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

On black

15.98
#D6EC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6EC51
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6EC51#FFFFFF#000000##000000
##D6EC511.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE03B
Deuteranopia (green-blind)
#F9E15C
Tritanopia (blue-blind)
#E3DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d6ec51;
/* rgb */ color: rgb(214, 236, 81);
/* oklch */ color: oklch(89.9% 0.176 117.0);
Tailwind
colors: {
  custom: {
    50: '#e6f28a',
    500: '#d6ec51',
    950: '#000000',
  },
}
SCSS
$custom: #d6ec51;
$custom-light: #e6f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ec51",
  "rgb": {
    "r": 214,
    "g": 236,
    "b": 81
  },
  "hsl": {
    "h": 68.516,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89881,
    "c": 0.17638,
    "h": 117
  },
  "luminance": 0.74881
}

Semantic roles & 50–950 ramp

primary
#D6EC51
secondary
#4331B0
accent
#09DD27
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D6EC51

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

Preview Lab → · Contrast checker → · Palette generator →

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