#D7F258#D7F258

#D7F258 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.3% C 0.178 H 118.6°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#D7F258
RGBrgb(215, 242, 88)
HSLhsl(71, 86%, 65%)
HSVhsv(71, 64%, 95%)
CMYKcmyk(11.2%, 0%, 63.6%, 5.1%)
CIE-LABlab(91.08, -28.99, 68.75)
CIE-LCHlch(91.08, 74.61, 112.86°)
OKLaboklab(91.31% -0.0851 0.1562)
OKLCHoklch(91.31% 0.178 118.6)
XYZxyz(61.5390, 78.6564, 21.1709)
Luminance0.7866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F258 #7358F2
analogous
#F2C058 #D7F258 #8AF258
triadic
#D7F258 #58D7F2 #F258D7
tetradic
#D7F258 #58F2C0 #7358F2 #F2588A
square
#D7F258 #58F2C0 #7358F2 #F2588A
split-complementary
#D7F258 #588AF2 #C058F2
monochromatic
#A1C10F #C9EE1F #D7F258 #E5F691 #F2FBCA

Accessibility & contrast

On white

1.26
#D7F258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#D7F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F258
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F258#FFFFFF#000000##000000
##D7F2581.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE544
Deuteranopia (green-blind)
#FEE663
Tritanopia (blue-blind)
#E3E6D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d7f258;
/* rgb */ color: rgb(215, 242, 88);
/* oklch */ color: oklch(91.3% 0.178 118.6);
Tailwind
colors: {
  custom: {
    50: '#e6f68e',
    500: '#d7f258',
    950: '#000000',
  },
}
SCSS
$custom: #d7f258;
$custom-light: #e6f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f258",
  "rgb": {
    "r": 215,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 70.519,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91313,
    "c": 0.1779,
    "h": 118.6
  },
  "luminance": 0.78656
}

Semantic roles & 50–950 ramp

primary
#D7F258
secondary
#4930BE
accent
#03E22A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F258

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

Preview Lab → · Contrast checker → · Palette generator →

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