#D7EC4B#D7EC4B

#D7EC4B is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 89.9% C 0.180 H 116.6°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#D7EC4B
RGBrgb(215, 236, 75)
HSLhsl(68, 81%, 61%)
HSVhsv(68, 68%, 93%)
CMYKcmyk(8.9%, 0%, 68.2%, 7.5%)
CIE-LABlab(89.37, -26.95, 71.91)
CIE-LCHlch(89.37, 76.79, 110.55°)
OKLaboklab(89.91% -0.0806 0.161)
OKLCHoklch(89.91% 0.18 116.6)
XYZxyz(59.2912, 74.9467, 17.9980)
Luminance0.7495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC4B #604BEC
analogous
#ECB04B #D7EC4B #86EC4B
triadic
#D7EC4B #4BD7EC #EC4BD7
tetradic
#D7EC4B #4BECB0 #604BEC #EC4B86
square
#D7EC4B #4BECB0 #604BEC #EC4B86
split-complementary
#D7EC4B #4B86EC #B04BEC
monochromatic
#97AB12 #C8E218 #D7EC4B #E3F282 #F0F8BA

Accessibility & contrast

On white

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

On black

15.99
#D7EC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EC4B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EC4B#FFFFFF#000000##000000
##D7EC4B1.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE031
Deuteranopia (green-blind)
#FAE257
Tritanopia (blue-blind)
#E4DFCC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ec4b;
/* rgb */ color: rgb(215, 236, 75);
/* oklch */ color: oklch(89.9% 0.180 116.6);
Tailwind
colors: {
  custom: {
    50: '#e7f286',
    500: '#d7ec4b',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec4b;
$custom-light: #e7f286;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec4b",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 75
  },
  "hsl": {
    "h": 67.826,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8991,
    "c": 0.18005,
    "h": 116.6
  },
  "luminance": 0.74946
}

Semantic roles & 50–950 ramp

primary
#D7EC4B
secondary
#4030AC
accent
#08DD24
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7EC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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