#D4E062#D4E062

#D4E062 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.3% C 0.150 H 114.1°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#D4E062
RGBrgb(212, 224, 98)
HSLhsl(66, 67%, 63%)
HSVhsv(66, 56%, 88%)
CMYKcmyk(5.4%, 0%, 56.3%, 12.2%)
CIE-LABlab(86.10, -20.90, 59.10)
CIE-LCHlch(86.10, 62.68, 109.47°)
OKLaboklab(87.3% -0.0612 0.1371)
OKLCHoklch(87.3% 0.15 114.1)
XYZxyz(56.0128, 68.1911, 21.7644)
Luminance0.6819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E062 #6E62E0
analogous
#E0AD62 #D4E062 #95E062
triadic
#D4E062 #62D4E0 #E062D4
tetradic
#D4E062 #62E0AD #6E62E0 #E06295
square
#D4E062 #62E0AD #6E62E0 #E06295
split-complementary
#D4E062 #6295E0 #AD62E0
monochromatic
#9AA721 #C6D62F #D4E062 #E2EA95 #F0F4C8

Accessibility & contrast

On white

1.43
#D4E062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#D4E062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E062
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E062#FFFFFF#000000##000000
##D4E0621.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD655
Deuteranopia (green-blind)
#EED969
Tritanopia (blue-blind)
#E0D4C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d4e062;
/* rgb */ color: rgb(212, 224, 98);
/* oklch */ color: oklch(87.3% 0.150 114.1);
Tailwind
colors: {
  custom: {
    50: '#e4e993',
    500: '#d4e062',
    950: '#000000',
  },
}
SCSS
$custom: #d4e062;
$custom-light: #e4e993;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e062",
  "rgb": {
    "r": 212,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 65.714,
    "s": 67.021,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87296,
    "c": 0.15012,
    "h": 114.1
  },
  "luminance": 0.6819
}

Semantic roles & 50–950 ramp

primary
#D4E062
secondary
#473DA9
accent
#17CF28
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D4E062

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

Preview Lab → · Contrast checker → · Palette generator →

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