#D4EC52#D4EC52

#D4EC52 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 89.7% C 0.176 H 117.7°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#D4EC52
RGBrgb(212, 236, 82)
HSLhsl(69, 80%, 62%)
HSVhsv(69, 65%, 93%)
CMYKcmyk(10.2%, 0%, 65.3%, 7.5%)
CIE-LABlab(89.20, -27.74, 69.06)
CIE-LCHlch(89.20, 74.42, 111.88°)
OKLaboklab(89.74% -0.082 0.1561)
OKLCHoklch(89.74% 0.176 117.7)
XYZxyz(58.6710, 74.5977, 19.2890)
Luminance0.7460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EC52 #6A52EC
analogous
#ECB752 #D4EC52 #87EC52
triadic
#D4EC52 #52D4EC #EC52D4
tetradic
#D4EC52 #52ECB7 #6A52EC #EC5287
square
#D4EC52 #52ECB7 #6A52EC #EC5287
split-complementary
#D4EC52 #5287EC #B752EC
monochromatic
#98B013 #C6E61B #D4EC52 #E2F289 #EFF8C0

Accessibility & contrast

On white

1.32
#D4EC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#D4EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EC52
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EC52#FFFFFF#000000##000000
##D4EC521.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4ec52;
/* rgb */ color: rgb(212, 236, 82);
/* oklch */ color: oklch(89.7% 0.176 117.7);
Tailwind
colors: {
  custom: {
    50: '#e4f28a',
    500: '#d4ec52',
    950: '#000000',
  },
}
SCSS
$custom: #d4ec52;
$custom-light: #e4f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ec52",
  "rgb": {
    "r": 212,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 69.351,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89741,
    "c": 0.17634,
    "h": 117.7
  },
  "luminance": 0.74597
}

Semantic roles & 50–950 ramp

primary
#D4EC52
secondary
#4532B1
accent
#09DD2A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D4EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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