#D7EC5D#D7EC5D

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

Color values

HEX#D7EC5D
RGBrgb(215, 236, 93)
HSLhsl(69, 79%, 65%)
HSVhsv(69, 61%, 93%)
CMYKcmyk(8.9%, 0%, 60.6%, 7.5%)
CIE-LABlab(89.50, -25.83, 65.05)
CIE-LCHlch(89.50, 69.99, 111.66°)
OKLaboklab(90.06% -0.0758 0.1491)
OKLCHoklch(90.06% 0.167 116.9)
XYZxyz(59.9967, 75.2290, 21.7138)
Luminance0.7523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC5D #725DEC
analogous
#ECBA5D #D7EC5D #90EC5D
triadic
#D7EC5D #5DD7EC #EC5DD7
tetradic
#D7EC5D #5DECBA #725DEC #EC5D90
square
#D7EC5D #5DECBA #725DEC #EC5D90
split-complementary
#D7EC5D #5D90EC #BA5DEC
monochromatic
#A1B916 #C9E626 #D7EC5D #E5F294 #F2F9CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7EC5D#FFFFFF#000000##000000
##D7EC5D1.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)
#FBE04C
Deuteranopia (green-blind)
#F9E266
Tritanopia (blue-blind)
#E3E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ec5d;
/* rgb */ color: rgb(215, 236, 93);
/* oklch */ color: oklch(90.1% 0.167 116.9);
Tailwind
colors: {
  custom: {
    50: '#e6f291',
    500: '#d7ec5d',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec5d;
$custom-light: #e6f291;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec5d",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 68.811,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90058,
    "c": 0.16723,
    "h": 116.9
  },
  "luminance": 0.75228
}

Semantic roles & 50–950 ramp

primary
#D7EC5D
secondary
#4835B8
accent
#0ADB29
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D7EC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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