#D4F562#D4F562

#D4F562 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.8% C 0.175 H 120.7°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#D4F562
RGBrgb(212, 245, 98)
HSLhsl(73, 88%, 67%)
HSVhsv(73, 60%, 96%)
CMYKcmyk(13.5%, 0%, 60%, 3.9%)
CIE-LABlab(91.77, -30.86, 65.39)
CIE-LCHlch(91.77, 72.31, 115.26°)
OKLaboklab(91.84% -0.0892 0.1505)
OKLCHoklch(91.84% 0.175 120.7)
XYZxyz(62.0092, 80.1838, 23.7632)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F562 #8362F5
analogous
#F5CC62 #D4F562 #8BF562
triadic
#D4F562 #62D4F5 #F562D4
tetradic
#D4F562 #62F5CC #8362F5 #F5628B
square
#D4F562 #62F5CC #8362F5 #F5628B
split-complementary
#D4F562 #628BF5 #CC62F5
monochromatic
#A4CF0D #C4F128 #D4F562 #E4F99C #F4FCD5

Accessibility & contrast

On white

1.23
#D4F562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#D4F562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F562
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F562#FFFFFF#000000##000000
##D4F5621.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFE86C
Tritanopia (blue-blind)
#DFE9D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d4f562;
/* rgb */ color: rgb(212, 245, 98);
/* oklch */ color: oklch(91.8% 0.175 120.7);
Tailwind
colors: {
  custom: {
    50: '#e4f894',
    500: '#d4f562',
    950: '#000000',
  },
}
SCSS
$custom: #d4f562;
$custom-light: #e4f894;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f562",
  "rgb": {
    "r": 212,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 73.469,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91841,
    "c": 0.17492,
    "h": 120.7
  },
  "luminance": 0.80184
}

Semantic roles & 50–950 ramp

primary
#D4F562
secondary
#5330CB
accent
#01E534
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D4F562

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

Preview Lab → · Contrast checker → · Palette generator →

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