#D4F671#D4F671

#D4F671 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.2% C 0.164 H 121.6°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#D4F671
RGBrgb(212, 246, 113)
HSLhsl(75, 88%, 70%)
HSVhsv(75, 54%, 96%)
CMYKcmyk(13.8%, 0%, 54.1%, 3.5%)
CIE-LABlab(92.18, -30.12, 59.40)
CIE-LCHlch(92.18, 66.61, 116.89°)
OKLaboklab(92.22% -0.0858 0.1393)
OKLCHoklch(92.22% 0.164 121.6)
XYZxyz(63.0883, 81.1008, 27.9500)
Luminance0.8110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F671 #9371F6
analogous
#F6D571 #D4F671 #92F671
triadic
#D4F671 #71D4F6 #F671D4
tetradic
#D4F671 #71F6D5 #9371F6 #F67192
square
#D4F671 #71F6D5 #9371F6 #F67192
split-complementary
#D4F671 #7192F6 #D571F6
monochromatic
#A9DE0E #C3F237 #D4F671 #E5FAAB #F6FDE2

Accessibility & contrast

On white

1.22
#D4F671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#D4F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F671
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F671#FFFFFF#000000##000000
##D4F6711.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#DDEBD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d4f671;
/* rgb */ color: rgb(212, 246, 113);
/* oklch */ color: oklch(92.2% 0.164 121.6);
Tailwind
colors: {
  custom: {
    50: '#e3f99d',
    500: '#d4f671',
    950: '#000000',
  },
}
SCSS
$custom: #d4f671;
$custom-light: #e3f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f671",
  "rgb": {
    "r": 212,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 75.338,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92215,
    "c": 0.16357,
    "h": 121.6
  },
  "luminance": 0.81101
}

Semantic roles & 50–950 ramp

primary
#D4F671
secondary
#613BD0
accent
#01E53B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F671

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

Preview Lab → · Contrast checker → · Palette generator →

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