#D4E052#D4E052

#D4E052 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.1% C 0.163 H 113.9°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#D4E052
RGBrgb(212, 224, 82)
HSLhsl(65, 70%, 60%)
HSVhsv(65, 63%, 88%)
CMYKcmyk(5.4%, 0%, 63.4%, 12.2%)
CIE-LABlab(85.97, -22.02, 65.68)
CIE-LCHlch(85.97, 69.27, 108.53°)
OKLaboklab(87.14% -0.066 0.149)
OKLCHoklch(87.14% 0.163 113.9)
XYZxyz(55.3314, 67.9186, 18.1758)
Luminance0.6792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E052 #5E52E0
analogous
#E0A552 #D4E052 #8DE052
triadic
#D4E052 #52D4E0 #E052D4
tetradic
#D4E052 #52E0A5 #5E52E0 #E0528D
square
#D4E052 #52E0A5 #5E52E0 #E0528D
split-complementary
#D4E052 #528DE0 #A552E0
monochromatic
#919C1C #C1D025 #D4E052 #E1E986 #EEF3BA

Accessibility & contrast

On white

1.44
#D4E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#D4E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E052
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E052#FFFFFF#000000##000000
##D4E0521.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#EFD85C
Tritanopia (blue-blind)
#E1D3C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d4e052;
/* rgb */ color: rgb(212, 224, 82);
/* oklch */ color: oklch(87.1% 0.163 113.9);
Tailwind
colors: {
  custom: {
    50: '#e4e989',
    500: '#d4e052',
    950: '#000000',
  },
}
SCSS
$custom: #d4e052;
$custom-light: #e4e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e052",
  "rgb": {
    "r": 212,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 65.07,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.87143,
    "c": 0.16296,
    "h": 113.9
  },
  "luminance": 0.67918
}

Semantic roles & 50–950 ramp

primary
#D4E052
secondary
#40379F
accent
#3BEC4A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E052

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

Preview Lab → · Contrast checker → · Palette generator →

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