#D7ED51#D7ED51

#D7ED51 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.2% C 0.177 H 117.0°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#D7ED51
RGBrgb(215, 237, 81)
HSLhsl(68, 81%, 62%)
HSVhsv(68, 66%, 93%)
CMYKcmyk(9.3%, 0%, 65.8%, 7.1%)
CIE-LABlab(89.68, -27.08, 70.00)
CIE-LCHlch(89.68, 75.05, 111.15°)
OKLaboklab(90.17% -0.0804 0.1579)
OKLCHoklch(90.17% 0.177 117)
XYZxyz(59.7950, 75.6102, 19.2272)
Luminance0.7561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7ED51 #6751ED
analogous
#EDB551 #D7ED51 #89ED51
triadic
#D7ED51 #51D7ED #ED51D7
tetradic
#D7ED51 #51EDB5 #6751ED #ED5189
square
#D7ED51 #51EDB5 #6751ED #ED5189
split-complementary
#D7ED51 #5189ED #B551ED
monochromatic
#9BB112 #CAE71A #D7ED51 #E4F388 #F0F8C0

Accessibility & contrast

On white

1.30
#D7ED51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#D7ED51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7ED51
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7ED51#FFFFFF#000000##000000
##D7ED511.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ed51;
/* rgb */ color: rgb(215, 237, 81);
/* oklch */ color: oklch(90.2% 0.177 117.0);
Tailwind
colors: {
  custom: {
    50: '#e7f28a',
    500: '#d7ed51',
    950: '#000000',
  },
}
SCSS
$custom: #d7ed51;
$custom-light: #e7f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ed51",
  "rgb": {
    "r": 215,
    "g": 237,
    "b": 81
  },
  "hsl": {
    "h": 68.462,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.90172,
    "c": 0.17718,
    "h": 117
  },
  "luminance": 0.7561
}

Semantic roles & 50–950 ramp

primary
#D7ED51
secondary
#4331B1
accent
#08DE26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7ED51

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

Preview Lab → · Contrast checker → · Palette generator →

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