#D8F362#D8F362

#D8F362 is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.7% C 0.171 H 118.8°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#D8F362
RGBrgb(216, 243, 98)
HSLhsl(71, 86%, 67%)
HSVhsv(71, 60%, 95%)
CMYKcmyk(11.1%, 0%, 59.7%, 4.7%)
CIE-LABlab(91.50, -28.38, 65.17)
CIE-LCHlch(91.50, 71.08, 113.53°)
OKLaboklab(91.69% -0.0825 0.1499)
OKLCHoklch(91.69% 0.171 118.8)
XYZxyz(62.5751, 79.5824, 23.6173)
Luminance0.7958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F362 #7D62F3
analogous
#F3C562 #D8F362 #90F362
triadic
#D8F362 #62D8F3 #F362D8
tetradic
#D8F362 #62F3C5 #7D62F3 #F36290
square
#D8F362 #62F3C5 #7D62F3 #F36290
split-complementary
#D8F362 #6290F3 #C562F3
monochromatic
#A8CB10 #CAEF29 #D8F362 #E6F79B #F4FCD4

Accessibility & contrast

On white

1.24
#D8F362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#D8F362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F362
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F362#FFFFFF#000000##000000
##D8F3621.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFE76C
Tritanopia (blue-blind)
#E3E7D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f362;
/* rgb */ color: rgb(216, 243, 98);
/* oklch */ color: oklch(91.7% 0.171 118.8);
Tailwind
colors: {
  custom: {
    50: '#e7f794',
    500: '#d8f362',
    950: '#000000',
  },
}
SCSS
$custom: #d8f362;
$custom-light: #e7f794;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f362",
  "rgb": {
    "r": 216,
    "g": 243,
    "b": 98
  },
  "hsl": {
    "h": 71.172,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.91692,
    "c": 0.17113,
    "h": 118.8
  },
  "luminance": 0.79582
}

Semantic roles & 50–950 ramp

primary
#D8F362
secondary
#4E32C7
accent
#03E22D
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F362

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

Preview Lab → · Contrast checker → · Palette generator →

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