#D7EC5E#D7EC5E

#D7EC5E is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.1% C 0.166 H 117.0°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#D7EC5E
RGBrgb(215, 236, 94)
HSLhsl(69, 79%, 65%)
HSVhsv(69, 60%, 93%)
CMYKcmyk(8.9%, 0%, 60.2%, 7.5%)
CIE-LABlab(89.51, -25.76, 64.64)
CIE-LCHlch(89.51, 69.59, 111.73°)
OKLaboklab(90.07% -0.0755 0.1483)
OKLCHoklch(90.07% 0.166 117)
XYZxyz(60.0413, 75.2468, 21.9486)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC5E #735EEC
analogous
#ECBA5E #D7EC5E #90EC5E
triadic
#D7EC5E #5ED7EC #EC5ED7
tetradic
#D7EC5E #5EECBA #735EEC #EC5E90
square
#D7EC5E #5EECBA #735EEC #EC5E90
split-complementary
#D7EC5E #5E90EC #BA5EEC
monochromatic
#A1BA16 #C9E627 #D7EC5E #E5F295 #F2F9CB

Accessibility & contrast

On white

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

On black

16.05
#D7EC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EC5E
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EC5E#FFFFFF#000000##000000
##D7EC5E1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04D
Deuteranopia (green-blind)
#F9E267
Tritanopia (blue-blind)
#E3E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ec5e;
/* rgb */ color: rgb(215, 236, 94);
/* oklch */ color: oklch(90.1% 0.166 117.0);
Tailwind
colors: {
  custom: {
    50: '#e6f291',
    500: '#d7ec5e',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec5e;
$custom-light: #e6f291;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec5e",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 68.873,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90068,
    "c": 0.16644,
    "h": 117
  },
  "luminance": 0.75246
}

Semantic roles & 50–950 ramp

primary
#D7EC5E
secondary
#4935B9
accent
#0ADB29
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D7EC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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