#D4F342#D4F342

#D4F342 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.2% C 0.194 H 119.2°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#D4F342
RGBrgb(212, 243, 66)
HSLhsl(71, 88%, 61%)
HSVhsv(71, 73%, 95%)
CMYKcmyk(12.8%, 0%, 72.8%, 4.7%)
CIE-LABlab(91.00, -31.86, 76.52)
CIE-LCHlch(91.00, 82.88, 112.61°)
OKLaboklab(91.16% -0.0948 0.1694)
OKLCHoklch(91.16% 0.194 119.2)
XYZxyz(60.1866, 78.4920, 17.1330)
Luminance0.7849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F342 #6142F3
analogous
#F3B942 #D4F342 #7CF342
triadic
#D4F342 #42D4F3 #F342D4
tetradic
#D4F342 #42F3B9 #6142F3 #F3427C
square
#D4F342 #42F3B9 #6142F3 #F3427C
split-complementary
#D4F342 #427CF3 #B942F3
monochromatic
#93AF0B #C3E90F #D4F342 #E1F77C #EEFAB5

Accessibility & contrast

On white

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

On black

16.70
#D4F342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F342
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F342#FFFFFF#000000##000000
##D4F3421.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE51C
Deuteranopia (green-blind)
#FFE652
Tritanopia (blue-blind)
#E0E6D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d4f342;
/* rgb */ color: rgb(212, 243, 66);
/* oklch */ color: oklch(91.2% 0.194 119.2);
Tailwind
colors: {
  custom: {
    50: '#e5f782',
    500: '#d4f342',
    950: '#000000',
  },
}
SCSS
$custom: #d4f342;
$custom-light: #e5f782;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f342",
  "rgb": {
    "r": 212,
    "g": 243,
    "b": 66
  },
  "hsl": {
    "h": 70.508,
    "s": 88.06,
    "l": 60.588
  },
  "oklch": {
    "l": 0.91156,
    "c": 0.19409,
    "h": 119.2
  },
  "luminance": 0.78492
}

Semantic roles & 50–950 ramp

primary
#D4F342
secondary
#412AB0
accent
#01E529
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#16170B
muted
#85857E

Preview Lab

Preview with #D4F342

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

Preview Lab → · Contrast checker → · Palette generator →

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