#D8F262#D8F262

#D8F262 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.5% C 0.170 H 118.5°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#D8F262
RGBrgb(216, 242, 98)
HSLhsl(71, 85%, 67%)
HSVhsv(71, 60%, 95%)
CMYKcmyk(10.7%, 0%, 59.5%, 5.1%)
CIE-LABlab(91.23, -27.91, 64.88)
CIE-LCHlch(91.23, 70.63, 113.28°)
OKLaboklab(91.48% -0.0812 0.1493)
OKLCHoklch(91.48% 0.17 118.5)
XYZxyz(62.2766, 78.9855, 23.5179)
Luminance0.7899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F262 #7C62F2
analogous
#F2C462 #D8F262 #90F262
triadic
#D8F262 #62D8F2 #F262D8
tetradic
#D8F262 #62F2C4 #7C62F2 #F26290
square
#D8F262 #62F2C4 #7C62F2 #F26290
split-complementary
#D8F262 #6290F2 #C462F2
monochromatic
#A8C911 #CAED29 #D8F262 #E6F79B #F4FBD3

Accessibility & contrast

On white

1.25
#D8F262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#D8F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F262
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F262#FFFFFF#000000##000000
##D8F2621.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#E4E6D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f262;
/* rgb */ color: rgb(216, 242, 98);
/* oklch */ color: oklch(91.5% 0.170 118.5);
Tailwind
colors: {
  custom: {
    50: '#e7f694',
    500: '#d8f262',
    950: '#000000',
  },
}
SCSS
$custom: #d8f262;
$custom-light: #e7f694;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f262",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 70.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91476,
    "c": 0.16995,
    "h": 118.5
  },
  "luminance": 0.78985
}

Semantic roles & 50–950 ramp

primary
#D8F262
secondary
#4D33C6
accent
#04E12C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F262

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

Preview Lab → · Contrast checker → · Palette generator →

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