#D7EC54#D7EC54

#D7EC54 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.0% C 0.174 H 116.8°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#D7EC54
RGBrgb(215, 236, 84)
HSLhsl(68, 80%, 63%)
HSVhsv(68, 64%, 93%)
CMYKcmyk(8.9%, 0%, 64.4%, 7.5%)
CIE-LABlab(89.43, -26.43, 68.59)
CIE-LCHlch(89.43, 73.50, 111.07°)
OKLaboklab(89.98% -0.0783 0.1553)
OKLCHoklch(89.98% 0.174 116.8)
XYZxyz(59.6213, 75.0788, 19.7366)
Luminance0.7508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC54 #6954EC
analogous
#ECB554 #D7EC54 #8BEC54
triadic
#D7EC54 #54D7EC #EC54D7
tetradic
#D7EC54 #54ECB5 #6954EC #EC548B
square
#D7EC54 #54ECB5 #6954EC #EC548B
split-complementary
#D7EC54 #548BEC #B554EC
monochromatic
#9CB214 #CAE61D #D7EC54 #E4F28B #F1F8C2

Accessibility & contrast

On white

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

On black

16.02
#D7EC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EC54
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EC54#FFFFFF#000000##000000
##D7EC541.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ec54;
/* rgb */ color: rgb(215, 236, 84);
/* oklch */ color: oklch(90.0% 0.174 116.8);
Tailwind
colors: {
  custom: {
    50: '#e6f28b',
    500: '#d7ec54',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec54;
$custom-light: #e6f28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec54",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 68.289,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.89979,
    "c": 0.17396,
    "h": 116.8
  },
  "luminance": 0.75078
}

Semantic roles & 50–950 ramp

primary
#D7EC54
secondary
#4432B2
accent
#09DC26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7EC54

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

Preview Lab → · Contrast checker → · Palette generator →

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