#D9E862#D9E862

#D9E862 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.4% C 0.158 H 115.0°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#D9E862
RGBrgb(217, 232, 98)
HSLhsl(67, 74%, 65%)
HSVhsv(67, 58%, 91%)
CMYKcmyk(6.5%, 0%, 57.8%, 9%)
CIE-LABlab(88.61, -22.77, 62.01)
CIE-LCHlch(88.61, 66.06, 110.16°)
OKLaboklab(89.4% -0.0668 0.1432)
OKLCHoklch(89.4% 0.158 115)
XYZxyz(59.6777, 73.3477, 22.5666)
Luminance0.7335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E862 #7162E8
analogous
#E8B462 #D9E862 #96E862
triadic
#D9E862 #62D9E8 #E862D9
tetradic
#D9E862 #62E8B4 #7162E8 #E86296
square
#D9E862 #62E8B4 #7162E8 #E86296
split-complementary
#D9E862 #6296E8 #B462E8
monochromatic
#A4B51B #CCE02D #D9E862 #E6F097 #F3F8CD

Accessibility & contrast

On white

1.34
#D9E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#D9E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E862
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E862#FFFFFF#000000##000000
##D9E8621.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD53
Deuteranopia (green-blind)
#F6E06A
Tritanopia (blue-blind)
#E5DCCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d9e862;
/* rgb */ color: rgb(217, 232, 98);
/* oklch */ color: oklch(89.4% 0.158 115.0);
Tailwind
colors: {
  custom: {
    50: '#e7ef93',
    500: '#d9e862',
    950: '#000000',
  },
}
SCSS
$custom: #d9e862;
$custom-light: #e7ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e862",
  "rgb": {
    "r": 217,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 66.716,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89397,
    "c": 0.15801,
    "h": 115
  },
  "luminance": 0.73347
}

Semantic roles & 50–950 ramp

primary
#D9E862
secondary
#4739B5
accent
#0FD725
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D9E862

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

Preview Lab → · Contrast checker → · Palette generator →

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