#D1F162#D1F162

#D1F162 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.8% C 0.171 H 120.6°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#D1F162
RGBrgb(209, 241, 98)
HSLhsl(73, 84%, 66%)
HSVhsv(73, 59%, 95%)
CMYKcmyk(13.3%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.48, -30.16, 63.92)
CIE-LCHlch(90.48, 70.68, 115.26°)
OKLaboklab(90.76% -0.0871 0.1474)
OKLCHoklch(90.76% 0.171 120.6)
XYZxyz(59.9551, 77.3479, 23.3240)
Luminance0.7735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F162 #8262F1
analogous
#F1CA62 #D1F162 #8AF162
triadic
#D1F162 #62D1F1 #F162D1
tetradic
#D1F162 #62F1CA #8262F1 #F1628A
square
#D1F162 #62F1CA #8262F1 #F1628A
split-complementary
#D1F162 #628AF1 #CA62F1
monochromatic
#9EC712 #C1EC2A #D1F162 #E1F69A #F2FBD2

Accessibility & contrast

On white

1.28
#D1F162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#D1F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F162
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F162#FFFFFF#000000##000000
##D1F1621.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f162;
/* rgb */ color: rgb(209, 241, 98);
/* oklch */ color: oklch(90.8% 0.171 120.6);
Tailwind
colors: {
  custom: {
    50: '#e2f594',
    500: '#d1f162',
    950: '#000000',
  },
}
SCSS
$custom: #d1f162;
$custom-light: #e2f594;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f162",
  "rgb": {
    "r": 209,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 73.427,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90756,
    "c": 0.1712,
    "h": 120.6
  },
  "luminance": 0.77348
}

Semantic roles & 50–950 ramp

primary
#D1F162
secondary
#5433C4
accent
#05E036
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1F162

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

Preview Lab → · Contrast checker → · Palette generator →

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