#D1F956#D1F956

#D1F956 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.4% C 0.190 H 122.1°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#D1F956
RGBrgb(209, 249, 86)
HSLhsl(75, 93%, 66%)
HSVhsv(75, 65%, 98%)
CMYKcmyk(16.1%, 0%, 65.5%, 2.4%)
CIE-LABlab(92.57, -34.67, 70.96)
CIE-LCHlch(92.57, 78.98, 116.04°)
OKLaboklab(92.4% -0.1007 0.1607)
OKLCHoklch(92.4% 0.19 122.1)
XYZxyz(61.8506, 81.9784, 21.3673)
Luminance0.8198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F956 #7E56F9
analogous
#F9CF56 #D1F956 #7FF956
triadic
#D1F956 #56D1F9 #F956D1
tetradic
#D1F956 #56F9CF #7E56F9 #F9567F
square
#D1F956 #56F9CF #7E56F9 #F9567F
split-complementary
#D1F956 #567FF9 #CF56F9
monochromatic
#9DCD07 #C1F71B #D1F956 #E1FB91 #F1FDCC

Accessibility & contrast

On white

1.21
#D1F956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#D1F956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F956
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F956#FFFFFF#000000##000000
##D1F9561.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB3F
Deuteranopia (green-blind)
#FFEA62
Tritanopia (blue-blind)
#DBEDD8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d1f956;
/* rgb */ color: rgb(209, 249, 86);
/* oklch */ color: oklch(92.4% 0.190 122.1);
Tailwind
colors: {
  custom: {
    50: '#e2fb8d',
    500: '#d1f956',
    950: '#000000',
  },
}
SCSS
$custom: #d1f956;
$custom-light: #e2fb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f956",
  "rgb": {
    "r": 209,
    "g": 249,
    "b": 86
  },
  "hsl": {
    "h": 74.724,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92404,
    "c": 0.18968,
    "h": 122.1
  },
  "luminance": 0.81979
}

Semantic roles & 50–950 ramp

primary
#D1F956
secondary
#512AC9
accent
#00E638
background
#FEFFFC
surface
#FDFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1F956

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

Preview Lab → · Contrast checker → · Palette generator →

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