#D4F672#D4F672

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

Color values

HEX#D4F672
RGBrgb(212, 246, 114)
HSLhsl(75, 88%, 71%)
HSVhsv(75, 54%, 96%)
CMYKcmyk(13.8%, 0%, 53.7%, 3.5%)
CIE-LABlab(92.19, -30.04, 58.97)
CIE-LCHlch(92.19, 66.18, 116.99°)
OKLaboklab(92.23% -0.0854 0.1384)
OKLCHoklch(92.23% 0.163 121.7)
XYZxyz(63.1449, 81.1235, 28.2481)
Luminance0.8112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F672 #9472F6
analogous
#F6D672 #D4F672 #92F672
triadic
#D4F672 #72D4F6 #F672D4
tetradic
#D4F672 #72F6D6 #9472F6 #F67292
square
#D4F672 #72F6D6 #9472F6 #F67292
split-complementary
#D4F672 #7292F6 #D672F6
monochromatic
#A9DF0E #C2F238 #D4F672 #E6FAAC #F6FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4F672#FFFFFF#000000##000000
##D4F6721.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)
#FFE965
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#DDEBD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d4f672;
/* rgb */ color: rgb(212, 246, 114);
/* oklch */ color: oklch(92.2% 0.163 121.7);
Tailwind
colors: {
  custom: {
    50: '#e3f99e',
    500: '#d4f672',
    950: '#000000',
  },
}
SCSS
$custom: #d4f672;
$custom-light: #e3f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f672",
  "rgb": {
    "r": 212,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 75.455,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92226,
    "c": 0.16268,
    "h": 121.7
  },
  "luminance": 0.81123
}

Semantic roles & 50–950 ramp

primary
#D4F672
secondary
#623CD1
accent
#01E53C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F672

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

Preview Lab → · Contrast checker → · Palette generator →

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