#D4F252#D4F252

#D4F252 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.0% C 0.183 H 119.4°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#D4F252
RGBrgb(212, 242, 82)
HSLhsl(71, 86%, 64%)
HSVhsv(71, 66%, 95%)
CMYKcmyk(12.4%, 0%, 66.1%, 5.1%)
CIE-LABlab(90.83, -30.54, 70.74)
CIE-LCHlch(90.83, 77.05, 113.35°)
OKLaboklab(91.05% -0.0898 0.1596)
OKLCHoklch(91.05% 0.183 119.4)
XYZxyz(60.4276, 78.1109, 19.8745)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F252 #7052F2
analogous
#F2C052 #D4F252 #84F252
triadic
#D4F252 #52D4F2 #F252D4
tetradic
#D4F252 #52F2C0 #7052F2 #F25284
square
#D4F252 #52F2C0 #7052F2 #F25284
split-complementary
#D4F252 #5284F2 #C052F2
monochromatic
#9BBC0E #C6EE19 #D4F252 #E2F68B #F0FBC4

Accessibility & contrast

On white

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

On black

16.62
#D4F252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F252
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F252#FFFFFF#000000##000000
##D4F2521.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53B
Deuteranopia (green-blind)
#FEE55E
Tritanopia (blue-blind)
#E0E5D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d4f252;
/* rgb */ color: rgb(212, 242, 82);
/* oklch */ color: oklch(91.0% 0.183 119.4);
Tailwind
colors: {
  custom: {
    50: '#e5f68b',
    500: '#d4f252',
    950: '#000000',
  },
}
SCSS
$custom: #d4f252;
$custom-light: #e5f68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f252",
  "rgb": {
    "r": 212,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 71.25,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.91048,
    "c": 0.18316,
    "h": 119.4
  },
  "luminance": 0.78111
}

Semantic roles & 50–950 ramp

primary
#D4F252
secondary
#482EBA
accent
#03E32D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #D4F252

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

Preview Lab → · Contrast checker → · Palette generator →

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