#D7EC51#D7EC51

#D7EC51 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.0% C 0.176 H 116.7°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#D7EC51
RGBrgb(215, 236, 81)
HSLhsl(68, 80%, 62%)
HSVhsv(68, 66%, 93%)
CMYKcmyk(8.9%, 0%, 65.7%, 7.5%)
CIE-LABlab(89.41, -26.61, 69.72)
CIE-LCHlch(89.41, 74.63, 110.89°)
OKLaboklab(89.96% -0.0791 0.1573)
OKLCHoklch(89.96% 0.176 116.7)
XYZxyz(59.5063, 75.0328, 19.1310)
Luminance0.7503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC51 #6651EC
analogous
#ECB451 #D7EC51 #8AEC51
triadic
#D7EC51 #51D7EC #EC51D7
tetradic
#D7EC51 #51ECB4 #6651EC #EC518A
square
#D7EC51 #51ECB4 #6651EC #EC518A
split-complementary
#D7EC51 #518AEC #B451EC
monochromatic
#9AAF13 #CAE61A #D7EC51 #E4F288 #F0F8BF

Accessibility & contrast

On white

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

On black

16.01
#D7EC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EC51
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EC51#FFFFFF#000000##000000
##D7EC511.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE03B
Deuteranopia (green-blind)
#FAE25C
Tritanopia (blue-blind)
#E4DFCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ec51;
/* rgb */ color: rgb(215, 236, 81);
/* oklch */ color: oklch(90.0% 0.176 116.7);
Tailwind
colors: {
  custom: {
    50: '#e7f28a',
    500: '#d7ec51',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec51;
$custom-light: #e7f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec51",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 81
  },
  "hsl": {
    "h": 68.129,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89955,
    "c": 0.17607,
    "h": 116.7
  },
  "luminance": 0.75032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7EC51

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

Preview Lab → · Contrast checker → · Palette generator →

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