#D4F257#D4F257

#D4F257 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.1% C 0.180 H 119.5°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#D4F257
RGBrgb(212, 242, 87)
HSLhsl(72, 86%, 65%)
HSVhsv(72, 64%, 95%)
CMYKcmyk(12.4%, 0%, 64%, 5.1%)
CIE-LABlab(90.87, -30.23, 68.86)
CIE-LCHlch(90.87, 75.20, 113.70°)
OKLaboklab(91.09% -0.0884 0.1564)
OKLCHoklch(91.09% 0.18 119.5)
XYZxyz(60.6248, 78.1897, 20.9133)
Luminance0.7819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F257 #7557F2
analogous
#F2C357 #D4F257 #87F257
triadic
#D4F257 #57D4F2 #F257D4
tetradic
#D4F257 #57F2C3 #7557F2 #F25787
square
#D4F257 #57F2C3 #7557F2 #F25787
split-complementary
#D4F257 #5787F2 #C357F2
monochromatic
#9EC00F #C5EE1E #D4F257 #E3F690 #F1FBC9

Accessibility & contrast

On white

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

On black

16.64
#D4F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F257
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F257#FFFFFF#000000##000000
##D4F2571.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE542
Deuteranopia (green-blind)
#FDE562
Tritanopia (blue-blind)
#DFE6D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d4f257;
/* rgb */ color: rgb(212, 242, 87);
/* oklch */ color: oklch(91.1% 0.180 119.5);
Tailwind
colors: {
  custom: {
    50: '#e4f68d',
    500: '#d4f257',
    950: '#000000',
  },
}
SCSS
$custom: #d4f257;
$custom-light: #e4f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f257",
  "rgb": {
    "r": 212,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 71.613,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91088,
    "c": 0.17967,
    "h": 119.5
  },
  "luminance": 0.78189
}

Semantic roles & 50–950 ramp

primary
#D4F257
secondary
#4B30BE
accent
#03E22E
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D4F257

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

Preview Lab → · Contrast checker → · Palette generator →

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