#D7EC5B#D7EC5B

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

Color values

HEX#D7EC5B
RGBrgb(215, 236, 91)
HSLhsl(69, 79%, 64%)
HSVhsv(69, 61%, 93%)
CMYKcmyk(8.9%, 0%, 61.4%, 7.5%)
CIE-LABlab(89.48, -25.97, 65.85)
CIE-LCHlch(89.48, 70.79, 111.52°)
OKLaboklab(90.04% -0.0764 0.1505)
OKLCHoklch(90.04% 0.169 116.9)
XYZxyz(59.9093, 75.1940, 21.2534)
Luminance0.7519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC5B #705BEC
analogous
#ECB95B #D7EC5B #8FEC5B
triadic
#D7EC5B #5BD7EC #EC5BD7
tetradic
#D7EC5B #5BECB9 #705BEC #EC5B8F
square
#D7EC5B #5BECB9 #705BEC #EC5B8F
split-complementary
#D7EC5B #5B8FEC #B95BEC
monochromatic
#A0B715 #CAE624 #D7EC5B #E4F292 #F2F9C9

Accessibility & contrast

On white

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

On black

16.04
#D7EC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EC5B
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EC5B#FFFFFF#000000##000000
##D7EC5B1.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE049
Deuteranopia (green-blind)
#F9E265
Tritanopia (blue-blind)
#E3E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ec5b;
/* rgb */ color: rgb(215, 236, 91);
/* oklch */ color: oklch(90.0% 0.169 116.9);
Tailwind
colors: {
  custom: {
    50: '#e6f28f',
    500: '#d7ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec5b;
$custom-light: #e6f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec5b",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 68.69,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.9004,
    "c": 0.16878,
    "h": 116.9
  },
  "luminance": 0.75193
}

Semantic roles & 50–950 ramp

primary
#D7EC5B
secondary
#4734B7
accent
#0ADC28
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D7EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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