#D4E862#D4E862

#D4E862 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.0% C 0.159 H 116.9°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#D4E862
RGBrgb(212, 232, 98)
HSLhsl(69, 74%, 65%)
HSVhsv(69, 58%, 91%)
CMYKcmyk(8.6%, 0%, 57.8%, 9%)
CIE-LABlab(88.25, -24.75, 61.51)
CIE-LCHlch(88.25, 66.30, 111.92°)
OKLaboklab(89.02% -0.0721 0.1422)
OKLCHoklch(89.02% 0.159 116.9)
XYZxyz(58.2136, 72.5928, 22.4980)
Luminance0.7259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E862 #7662E8
analogous
#E8B962 #D4E862 #91E862
triadic
#D4E862 #62D4E8 #E862D4
tetradic
#D4E862 #62E8B9 #7662E8 #E86291
square
#D4E862 #62E8B9 #7662E8 #E86291
split-complementary
#D4E862 #6291E8 #B962E8
monochromatic
#9EB51B #C5E02D #D4E862 #E3F097 #F1F8CD

Accessibility & contrast

On white

1.35
#D4E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#D4E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E862
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E862#FFFFFF#000000##000000
##D4E8621.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD53
Deuteranopia (green-blind)
#F4DE6A
Tritanopia (blue-blind)
#E0DCCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d4e862;
/* rgb */ color: rgb(212, 232, 98);
/* oklch */ color: oklch(89.0% 0.159 116.9);
Tailwind
colors: {
  custom: {
    50: '#e4ef93',
    500: '#d4e862',
    950: '#000000',
  },
}
SCSS
$custom: #d4e862;
$custom-light: #e4ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e862",
  "rgb": {
    "r": 212,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 68.955,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89019,
    "c": 0.15944,
    "h": 116.9
  },
  "luminance": 0.72592
}

Semantic roles & 50–950 ramp

primary
#D4E862
secondary
#4C39B5
accent
#0FD72D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4E862

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

Preview Lab → · Contrast checker → · Palette generator →

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