#D7F151#D7F151

#D7F151 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.0% C 0.182 H 118.1°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#D7F151
RGBrgb(215, 241, 81)
HSLhsl(70, 85%, 63%)
HSVhsv(70, 66%, 95%)
CMYKcmyk(10.8%, 0%, 66.4%, 5.5%)
CIE-LABlab(90.76, -28.96, 71.11)
CIE-LCHlch(90.76, 76.78, 112.16°)
OKLaboklab(91.04% -0.0856 0.1602)
OKLCHoklch(91.04% 0.182 118.1)
XYZxyz(60.9660, 77.9523, 19.6176)
Luminance0.7795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F151 #6B51F1
analogous
#F1BB51 #D7F151 #87F151
triadic
#D7F151 #51D7F1 #F151D7
tetradic
#D7F151 #51F1BB #6B51F1 #F15187
square
#D7F151 #51F1BB #6B51F1 #F15187
split-complementary
#D7F151 #5187F1 #BB51F1
monochromatic
#9DB90F #CAEC18 #D7F151 #E4F68A #F1FAC2

Accessibility & contrast

On white

1.27
#D7F151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#D7F151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F151
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F151#FFFFFF#000000##000000
##D7F1511.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE439
Deuteranopia (green-blind)
#FEE55D
Tritanopia (blue-blind)
#E3E4D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d7f151;
/* rgb */ color: rgb(215, 241, 81);
/* oklch */ color: oklch(91.0% 0.182 118.1);
Tailwind
colors: {
  custom: {
    50: '#e7f58a',
    500: '#d7f151',
    950: '#000000',
  },
}
SCSS
$custom: #d7f151;
$custom-light: #e7f58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f151",
  "rgb": {
    "r": 215,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 69.75,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.91039,
    "c": 0.18166,
    "h": 118.1
  },
  "luminance": 0.77952
}

Semantic roles & 50–950 ramp

primary
#D7F151
secondary
#452FB8
accent
#04E228
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D7F151

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

Preview Lab → · Contrast checker → · Palette generator →

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