#D7EC56#D7EC56

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

Color values

HEX#D7EC56
RGBrgb(215, 236, 86)
HSLhsl(68, 80%, 63%)
HSVhsv(68, 64%, 93%)
CMYKcmyk(8.9%, 0%, 63.6%, 7.5%)
CIE-LABlab(89.44, -26.30, 67.82)
CIE-LCHlch(89.44, 72.74, 111.20°)
OKLaboklab(90% -0.0778 0.154)
OKLCHoklch(90% 0.173 116.8)
XYZxyz(59.7007, 75.1106, 20.1551)
Luminance0.7511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC56 #6B56EC
analogous
#ECB656 #D7EC56 #8CEC56
triadic
#D7EC56 #56D7EC #EC56D7
tetradic
#D7EC56 #56ECB6 #6B56EC #EC568C
square
#D7EC56 #56ECB6 #6B56EC #EC568C
split-complementary
#D7EC56 #568CEC #B656EC
monochromatic
#9DB314 #CAE61F #D7EC56 #E4F28D #F1F8C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7EC56#FFFFFF#000000##000000
##D7EC561.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)
#FBE042
Deuteranopia (green-blind)
#F9E260
Tritanopia (blue-blind)
#E4DFCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ec56;
/* rgb */ color: rgb(215, 236, 86);
/* oklch */ color: oklch(90.0% 0.173 116.8);
Tailwind
colors: {
  custom: {
    50: '#e6f28c',
    500: '#d7ec56',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec56;
$custom-light: #e6f28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec56",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 68.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89996,
    "c": 0.17252,
    "h": 116.8
  },
  "luminance": 0.7511
}

Semantic roles & 50–950 ramp

primary
#D7EC56
secondary
#4533B3
accent
#09DC27
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D7EC56

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

Preview Lab → · Contrast checker → · Palette generator →

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