#D7E862#D7E862

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

Color values

HEX#D7E862
RGBrgb(215, 232, 98)
HSLhsl(68, 74%, 65%)
HSVhsv(68, 58%, 91%)
CMYKcmyk(7.3%, 0%, 57.8%, 9%)
CIE-LABlab(88.47, -23.56, 61.81)
CIE-LCHlch(88.47, 66.15, 110.87°)
OKLaboklab(89.24% -0.0689 0.1428)
OKLCHoklch(89.24% 0.159 115.8)
XYZxyz(59.0867, 73.0429, 22.5389)
Luminance0.7304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E862 #7362E8
analogous
#E8B662 #D7E862 #94E862
triadic
#D7E862 #62D7E8 #E862D7
tetradic
#D7E862 #62E8B6 #7362E8 #E86294
square
#D7E862 #62E8B6 #7362E8 #E86294
split-complementary
#D7E862 #6294E8 #B662E8
monochromatic
#A1B51B #C9E02D #D7E862 #E5F097 #F2F8CD

Accessibility & contrast

On white

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

On black

15.61
#D7E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E862
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E862#FFFFFF#000000##000000
##D7E8621.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7e862;
/* rgb */ color: rgb(215, 232, 98);
/* oklch */ color: oklch(89.2% 0.159 115.8);
Tailwind
colors: {
  custom: {
    50: '#e6ef93',
    500: '#d7e862',
    950: '#000000',
  },
}
SCSS
$custom: #d7e862;
$custom-light: #e6ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e862",
  "rgb": {
    "r": 215,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 67.612,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89245,
    "c": 0.15856,
    "h": 115.8
  },
  "luminance": 0.73042
}

Semantic roles & 50–950 ramp

primary
#D7E862
secondary
#4939B5
accent
#0FD728
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D7E862

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

Preview Lab → · Contrast checker → · Palette generator →

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