#D6EC5A#D6EC5A

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

Color values

HEX#D6EC5A
RGBrgb(214, 236, 90)
HSLhsl(69, 79%, 64%)
HSVhsv(69, 62%, 93%)
CMYKcmyk(9.3%, 0%, 61.9%, 7.5%)
CIE-LABlab(89.41, -26.43, 66.15)
CIE-LCHlch(89.41, 71.24, 111.78°)
OKLaboklab(89.96% -0.0777 0.1511)
OKLCHoklch(89.96% 0.17 117.2)
XYZxyz(59.5736, 75.0259, 21.0140)
Luminance0.7502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6EC5A #705AEC
analogous
#ECB95A #D6EC5A #8DEC5A
triadic
#D6EC5A #5AD6EC #EC5AD6
tetradic
#D6EC5A #5AECB9 #705AEC #EC5A8D
square
#D6EC5A #5AECB9 #705AEC #EC5A8D
split-complementary
#D6EC5A #5A8DEC #B95AEC
monochromatic
#9EB715 #C8E623 #D6EC5A #E4F291 #F1F9C8

Accessibility & contrast

On white

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

On black

16.01
#D6EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6EC5A
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6EC5A#FFFFFF#000000##000000
##D6EC5A1.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE048
Deuteranopia (green-blind)
#F9E264
Tritanopia (blue-blind)
#E2E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d6ec5a;
/* rgb */ color: rgb(214, 236, 90);
/* oklch */ color: oklch(90.0% 0.170 117.2);
Tailwind
colors: {
  custom: {
    50: '#e6f28f',
    500: '#d6ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #d6ec5a;
$custom-light: #e6f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ec5a",
  "rgb": {
    "r": 214,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 69.041,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89956,
    "c": 0.16986,
    "h": 117.2
  },
  "luminance": 0.75025
}

Semantic roles & 50–950 ramp

primary
#D6EC5A
secondary
#4834B6
accent
#0ADC29
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D6EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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