#D6EC52#D6EC52

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

Color values

HEX#D6EC52
RGBrgb(214, 236, 82)
HSLhsl(69, 80%, 62%)
HSVhsv(69, 65%, 93%)
CMYKcmyk(9.3%, 0%, 65.3%, 7.5%)
CIE-LABlab(89.34, -26.95, 69.25)
CIE-LCHlch(89.34, 74.31, 111.26°)
OKLaboklab(89.89% -0.0799 0.1565)
OKLCHoklch(89.89% 0.176 117)
XYZxyz(59.2513, 74.8969, 19.3162)
Luminance0.7490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6EC52 #6852EC
analogous
#ECB552 #D6EC52 #89EC52
triadic
#D6EC52 #52D6EC #EC52D6
tetradic
#D6EC52 #52ECB5 #6852EC #EC5289
square
#D6EC52 #52ECB5 #6852EC #EC5289
split-complementary
#D6EC52 #5289EC #B552EC
monochromatic
#9AB013 #C9E61B #D6EC52 #E3F289 #F0F8C0

Accessibility & contrast

On white

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

On black

15.98
#D6EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6EC52
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6EC52#FFFFFF#000000##000000
##D6EC521.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE03C
Deuteranopia (green-blind)
#F9E15D
Tritanopia (blue-blind)
#E3DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d6ec52;
/* rgb */ color: rgb(214, 236, 82);
/* oklch */ color: oklch(89.9% 0.176 117.0);
Tailwind
colors: {
  custom: {
    50: '#e6f28a',
    500: '#d6ec52',
    950: '#000000',
  },
}
SCSS
$custom: #d6ec52;
$custom-light: #e6f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ec52",
  "rgb": {
    "r": 214,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 68.571,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89889,
    "c": 0.17569,
    "h": 117
  },
  "luminance": 0.74896
}

Semantic roles & 50–950 ramp

primary
#D6EC52
secondary
#4432B1
accent
#09DD27
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D6EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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