#D4F162#D4F162

#D4F162 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 91.0% C 0.170 H 119.6°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#D4F162
RGBrgb(212, 241, 98)
HSLhsl(72, 84%, 66%)
HSVhsv(72, 59%, 95%)
CMYKcmyk(12%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.68, -29.00, 64.20)
CIE-LCHlch(90.68, 70.45, 114.31°)
OKLaboklab(90.97% -0.084 0.148)
OKLCHoklch(90.97% 0.17 119.6)
XYZxyz(60.8121, 77.7898, 23.3642)
Luminance0.7779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F162 #7F62F1
analogous
#F1C762 #D4F162 #8DF162
triadic
#D4F162 #62D4F1 #F162D4
tetradic
#D4F162 #62F1C7 #7F62F1 #F1628D
square
#D4F162 #62F1C7 #7F62F1 #F1628D
split-complementary
#D4F162 #628DF1 #C762F1
monochromatic
#A2C712 #C5EC2A #D4F162 #E3F69A #F3FBD2

Accessibility & contrast

On white

1.27
#D4F162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#D4F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F162
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F162#FFFFFF#000000##000000
##D4F1621.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FCE56B
Tritanopia (blue-blind)
#DFE5D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d4f162;
/* rgb */ color: rgb(212, 241, 98);
/* oklch */ color: oklch(91.0% 0.170 119.6);
Tailwind
colors: {
  custom: {
    50: '#e4f594',
    500: '#d4f162',
    950: '#000000',
  },
}
SCSS
$custom: #d4f162;
$custom-light: #e4f594;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f162",
  "rgb": {
    "r": 212,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 72.168,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.9097,
    "c": 0.17013,
    "h": 119.6
  },
  "luminance": 0.77789
}

Semantic roles & 50–950 ramp

primary
#D4F162
secondary
#5133C4
accent
#05E032
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #D4F162

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

Preview Lab → · Contrast checker → · Palette generator →

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