#D4EB5D#D4EB5D

#D4EB5D is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 89.6% C 0.167 H 117.7°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#D4EB5D
RGBrgb(212, 235, 93)
HSLhsl(70, 78%, 64%)
HSVhsv(70, 60%, 92%)
CMYKcmyk(9.8%, 0%, 60.4%, 7.8%)
CIE-LABlab(89.02, -26.54, 64.46)
CIE-LCHlch(89.02, 69.71, 112.38°)
OKLaboklab(89.62% -0.0776 0.1479)
OKLCHoklch(89.62% 0.167 117.7)
XYZxyz(58.8365, 74.2046, 21.5772)
Luminance0.7420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EB5D #745DEB
analogous
#EBBB5D #D4EB5D #8DEB5D
triadic
#D4EB5D #5DD4EB #EB5DD4
tetradic
#D4EB5D #5DEBBB #745DEB #EB5D8D
square
#D4EB5D #5DEBBB #745DEB #EB5D8D
split-complementary
#D4EB5D #5D8DEB #BB5DEB
monochromatic
#9DB717 #C6E427 #D4EB5D #E2F293 #F1F8CA

Accessibility & contrast

On white

1.33
#D4EB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#D4EB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EB5D
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EB5D#FFFFFF#000000##000000
##D4EB5D1.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4eb5d;
/* rgb */ color: rgb(212, 235, 93);
/* oklch */ color: oklch(89.6% 0.167 117.7);
Tailwind
colors: {
  custom: {
    50: '#e4f190',
    500: '#d4eb5d',
    950: '#000000',
  },
}
SCSS
$custom: #d4eb5d;
$custom-light: #e4f190;
$custom-dark: #000000;
JSON
{
  "hex": "#d4eb5d",
  "rgb": {
    "r": 212,
    "g": 235,
    "b": 93
  },
  "hsl": {
    "h": 69.718,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89619,
    "c": 0.16702,
    "h": 117.7
  },
  "luminance": 0.74204
}

Semantic roles & 50–950 ramp

primary
#D4EB5D
secondary
#4A36B7
accent
#0BDA2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4EB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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