#D4F151#D4F151

#D4F151 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.8% C 0.183 H 119.1°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#D4F151
RGBrgb(212, 241, 81)
HSLhsl(71, 85%, 63%)
HSVhsv(71, 66%, 95%)
CMYKcmyk(12%, 0%, 66.4%, 5.5%)
CIE-LABlab(90.55, -30.14, 70.83)
CIE-LCHlch(90.55, 76.97, 113.05°)
OKLaboklab(90.82% -0.0887 0.1597)
OKLCHoklch(90.82% 0.183 119.1)
XYZxyz(60.0930, 77.5021, 19.5766)
Luminance0.7750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F151 #6E51F1
analogous
#F1BE51 #D4F151 #84F151
triadic
#D4F151 #51D4F1 #F151D4
tetradic
#D4F151 #51F1BE #6E51F1 #F15184
square
#D4F151 #51F1BE #6E51F1 #F15184
split-complementary
#D4F151 #5184F1 #BE51F1
monochromatic
#9AB90F #C6EC18 #D4F151 #E2F68A #F0FAC2

Accessibility & contrast

On white

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

On black

16.50
#D4F151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F151
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F151#FFFFFF#000000##000000
##D4F1511.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43A
Deuteranopia (green-blind)
#FDE55D
Tritanopia (blue-blind)
#E0E4D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d4f151;
/* rgb */ color: rgb(212, 241, 81);
/* oklch */ color: oklch(90.8% 0.183 119.1);
Tailwind
colors: {
  custom: {
    50: '#e5f58a',
    500: '#d4f151',
    950: '#000000',
  },
}
SCSS
$custom: #d4f151;
$custom-light: #e5f58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f151",
  "rgb": {
    "r": 212,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 70.875,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.90822,
    "c": 0.1827,
    "h": 119.1
  },
  "luminance": 0.77502
}

Semantic roles & 50–950 ramp

primary
#D4F151
secondary
#472FB8
accent
#04E22C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #D4F151

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

Preview Lab → · Contrast checker → · Palette generator →

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