#D5EC52#D5EC52

#D5EC52 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 89.8% C 0.176 H 117.4°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#D5EC52
RGBrgb(213, 236, 82)
HSLhsl(69, 80%, 62%)
HSVhsv(69, 65%, 93%)
CMYKcmyk(9.7%, 0%, 65.3%, 7.5%)
CIE-LABlab(89.27, -27.34, 69.16)
CIE-LCHlch(89.27, 74.36, 111.57°)
OKLaboklab(89.81% -0.0809 0.1563)
OKLCHoklch(89.81% 0.176 117.4)
XYZxyz(58.9602, 74.7469, 19.3026)
Luminance0.7475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5EC52 #6952EC
analogous
#ECB652 #D5EC52 #88EC52
triadic
#D5EC52 #52D5EC #EC52D5
tetradic
#D5EC52 #52ECB6 #6952EC #EC5288
square
#D5EC52 #52ECB6 #6952EC #EC5288
split-complementary
#D5EC52 #5288EC #B652EC
monochromatic
#99B013 #C8E61B #D5EC52 #E2F289 #F0F8C0

Accessibility & contrast

On white

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

On black

15.95
#D5EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5EC52
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5EC52#FFFFFF#000000##000000
##D5EC521.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ec52;
/* rgb */ color: rgb(213, 236, 82);
/* oklch */ color: oklch(89.8% 0.176 117.4);
Tailwind
colors: {
  custom: {
    50: '#e5f28a',
    500: '#d5ec52',
    950: '#000000',
  },
}
SCSS
$custom: #d5ec52;
$custom-light: #e5f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ec52",
  "rgb": {
    "r": 213,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 68.961,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89814,
    "c": 0.17601,
    "h": 117.4
  },
  "luminance": 0.74746
}

Semantic roles & 50–950 ramp

primary
#D5EC52
secondary
#4532B1
accent
#09DD29
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D5EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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