#D7F451#D7F451

#D7F451 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.7% C 0.185 H 118.9°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#D7F451
RGBrgb(215, 244, 81)
HSLhsl(71, 88%, 64%)
HSVhsv(71, 67%, 96%)
CMYKcmyk(11.9%, 0%, 66.8%, 4.3%)
CIE-LABlab(91.57, -30.35, 71.93)
CIE-LCHlch(91.57, 78.08, 112.88°)
OKLaboklab(91.69% -0.0895 0.162)
OKLCHoklch(91.69% 0.185 118.9)
XYZxyz(61.8614, 79.7429, 19.9160)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F451 #6E51F4
analogous
#F4BF51 #D7F451 #85F451
triadic
#D7F451 #51D7F4 #F451D7
tetradic
#D7F451 #51F4BF #6E51F4 #F45185
square
#D7F451 #51F4BF #6E51F4 #F45185
split-complementary
#D7F451 #5185F4 #BF51F4
monochromatic
#9FBF0C #CAF017 #D7F451 #E4F88B #F1FBC4

Accessibility & contrast

On white

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

On black

16.95
#D7F451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F451
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F451#FFFFFF#000000##000000
##D7F4511.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE739
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#E3E7D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d7f451;
/* rgb */ color: rgb(215, 244, 81);
/* oklch */ color: oklch(91.7% 0.185 118.9);
Tailwind
colors: {
  custom: {
    50: '#e7f78a',
    500: '#d7f451',
    950: '#000000',
  },
}
SCSS
$custom: #d7f451;
$custom-light: #e7f78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f451",
  "rgb": {
    "r": 215,
    "g": 244,
    "b": 81
  },
  "hsl": {
    "h": 70.675,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91692,
    "c": 0.18504,
    "h": 118.9
  },
  "luminance": 0.79743
}

Semantic roles & 50–950 ramp

primary
#D7F451
secondary
#462DBD
accent
#01E529
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D7F451

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

Preview Lab → · Contrast checker → · Palette generator →

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