#D7EC5A#D7EC5A

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

Color values

HEX#D7EC5A
RGBrgb(215, 236, 90)
HSLhsl(69, 79%, 64%)
HSVhsv(69, 62%, 93%)
CMYKcmyk(8.9%, 0%, 61.9%, 7.5%)
CIE-LABlab(89.48, -26.04, 66.25)
CIE-LCHlch(89.48, 71.18, 111.46°)
OKLaboklab(90.03% -0.0766 0.1512)
OKLCHoklch(90.03% 0.17 116.9)
XYZxyz(59.8664, 75.1769, 21.0277)
Luminance0.7518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EC5A #6F5AEC
analogous
#ECB85A #D7EC5A #8EEC5A
triadic
#D7EC5A #5AD7EC #EC5AD7
tetradic
#D7EC5A #5AECB8 #6F5AEC #EC5A8E
square
#D7EC5A #5AECB8 #6F5AEC #EC5A8E
split-complementary
#D7EC5A #5A8EEC #B85AEC
monochromatic
#9FB715 #CAE623 #D7EC5A #E4F291 #F2F9C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7EC5A#FFFFFF#000000##000000
##D7EC5A1.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)
#FBE048
Deuteranopia (green-blind)
#F9E264
Tritanopia (blue-blind)
#E3E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7ec5a;
/* rgb */ color: rgb(215, 236, 90);
/* oklch */ color: oklch(90.0% 0.170 116.9);
Tailwind
colors: {
  custom: {
    50: '#e6f28f',
    500: '#d7ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7ec5a;
$custom-light: #e6f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ec5a",
  "rgb": {
    "r": 215,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 68.63,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90031,
    "c": 0.16954,
    "h": 116.9
  },
  "luminance": 0.75176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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