#D6EC4F#D6EC4F

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

Color values

HEX#D6EC4F
RGBrgb(214, 236, 79)
HSLhsl(68, 81%, 62%)
HSVhsv(68, 67%, 93%)
CMYKcmyk(9.3%, 0%, 66.5%, 7.5%)
CIE-LABlab(89.32, -27.12, 70.37)
CIE-LCHlch(89.32, 75.41, 111.08°)
OKLaboklab(89.87% -0.0807 0.1584)
OKLCHoklch(89.87% 0.178 117)
XYZxyz(59.1396, 74.8523, 18.7281)
Luminance0.7485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6EC4F #654FEC
analogous
#ECB44F #D6EC4F #87EC4F
triadic
#D6EC4F #4FD6EC #EC4FD6
tetradic
#D6EC4F #4FECB4 #654FEC #EC4F87
square
#D6EC4F #4FECB4 #654FEC #EC4F87
split-complementary
#D6EC4F #4F87EC #B44FEC
monochromatic
#98AE13 #C8E519 #D6EC4F #E3F286 #F0F8BD

Accessibility & contrast

On white

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

On black

15.97
#D6EC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6EC4F
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6EC4F#FFFFFF#000000##000000
##D6EC4F1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE038
Deuteranopia (green-blind)
#F9E15B
Tritanopia (blue-blind)
#E3DFCC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d6ec4f;
/* rgb */ color: rgb(214, 236, 79);
/* oklch */ color: oklch(89.9% 0.178 117.0);
Tailwind
colors: {
  custom: {
    50: '#e6f288',
    500: '#d6ec4f',
    950: '#000000',
  },
}
SCSS
$custom: #d6ec4f;
$custom-light: #e6f288;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ec4f",
  "rgb": {
    "r": 214,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 68.408,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89865,
    "c": 0.17774,
    "h": 117
  },
  "luminance": 0.74852
}

Semantic roles & 50–950 ramp

primary
#D6EC4F
secondary
#4231AE
accent
#09DD26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D6EC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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