#D8E261#D8E261

#D8E261 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.0% C 0.152 H 113.2°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#D8E261
RGBrgb(216, 226, 97)
HSLhsl(65, 69%, 63%)
HSVhsv(65, 57%, 89%)
CMYKcmyk(4.4%, 0%, 57.1%, 11.4%)
CIE-LABlab(86.93, -20.34, 60.54)
CIE-LCHlch(86.93, 63.87, 108.57°)
OKLaboklab(88.03% -0.06 0.14)
OKLCHoklch(88.03% 0.152 113.2)
XYZxyz(57.6742, 69.8558, 21.7523)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E261 #6B61E2
analogous
#E2AB61 #D8E261 #97E261
triadic
#D8E261 #61D8E2 #E261D8
tetradic
#D8E261 #61E2AB #6B61E2 #E26197
square
#D8E261 #61E2AB #6B61E2 #E26197
split-complementary
#D8E261 #6197E2 #AB61E2
monochromatic
#9FA91F #CBD92D #D8E261 #E5EB95 #F2F5C8

Accessibility & contrast

On white

1.40
#D8E261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#D8E261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E261
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E261#FFFFFF#000000##000000
##D8E2611.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D853
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#E5D6C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d8e261;
/* rgb */ color: rgb(216, 226, 97);
/* oklch */ color: oklch(88.0% 0.152 113.2);
Tailwind
colors: {
  custom: {
    50: '#e7eb92',
    500: '#d8e261',
    950: '#000000',
  },
}
SCSS
$custom: #d8e261;
$custom-light: #e7eb92;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e261",
  "rgb": {
    "r": 216,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 64.651,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88026,
    "c": 0.15229,
    "h": 113.2
  },
  "luminance": 0.69855
}

Semantic roles & 50–950 ramp

primary
#D8E261
secondary
#443CAB
accent
#15D123
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D8E261

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

Preview Lab → · Contrast checker → · Palette generator →

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