#D6E862#D6E862

#D6E862 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.2% C 0.159 H 116.1°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#D6E862
RGBrgb(214, 232, 98)
HSLhsl(68, 74%, 65%)
HSVhsv(68, 58%, 91%)
CMYKcmyk(7.8%, 0%, 57.8%, 9%)
CIE-LABlab(88.40, -23.96, 61.71)
CIE-LCHlch(88.40, 66.20, 111.22°)
OKLaboklab(89.17% -0.07 0.1426)
OKLCHoklch(89.17% 0.159 116.1)
XYZxyz(58.7939, 72.8919, 22.5252)
Luminance0.7289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6E862 #7462E8
analogous
#E8B762 #D6E862 #93E862
triadic
#D6E862 #62D6E8 #E862D6
tetradic
#D6E862 #62E8B7 #7462E8 #E86293
square
#D6E862 #62E8B7 #7462E8 #E86293
split-complementary
#D6E862 #6293E8 #B762E8
monochromatic
#A0B51B #C8E02D #D6E862 #E4F097 #F2F8CD

Accessibility & contrast

On white

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

On black

15.58
#D6E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6E862
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6E862#FFFFFF#000000##000000
##D6E8621.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6e862;
/* rgb */ color: rgb(214, 232, 98);
/* oklch */ color: oklch(89.2% 0.159 116.1);
Tailwind
colors: {
  custom: {
    50: '#e5ef93',
    500: '#d6e862',
    950: '#000000',
  },
}
SCSS
$custom: #d6e862;
$custom-light: #e5ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#d6e862",
  "rgb": {
    "r": 214,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 68.06,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89169,
    "c": 0.15885,
    "h": 116.1
  },
  "luminance": 0.72891
}

Semantic roles & 50–950 ramp

primary
#D6E862
secondary
#4A39B5
accent
#0FD72A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D6E862

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

Preview Lab → · Contrast checker → · Palette generator →

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