#D1F45C#D1F45C

#D1F45C is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.4% C 0.179 H 121.1°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#D1F45C
RGBrgb(209, 244, 92)
HSLhsl(74, 87%, 66%)
HSVhsv(74, 62%, 96%)
CMYKcmyk(14.3%, 0%, 62.3%, 4.3%)
CIE-LABlab(91.25, -31.98, 67.22)
CIE-LCHlch(91.25, 74.44, 115.45°)
OKLaboklab(91.36% -0.0927 0.1537)
OKLCHoklch(91.36% 0.179 121.1)
XYZxyz(60.5777, 79.0294, 22.1860)
Luminance0.7903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F45C #7F5CF4
analogous
#F4CB5C #D1F45C #85F45C
triadic
#D1F45C #5CD1F4 #F45CD1
tetradic
#D1F45C #5CF4CB #7F5CF4 #F45C85
square
#D1F45C #5CF4CB #7F5CF4 #F45C85
split-complementary
#D1F45C #5C85F4 #CB5CF4
monochromatic
#9DC80E #C1F023 #D1F45C #E1F895 #F1FCCF

Accessibility & contrast

On white

1.25
#D1F45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#D1F45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F45C
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F45C#FFFFFF#000000##000000
##D1F45C1.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE649
Deuteranopia (green-blind)
#FEE667
Tritanopia (blue-blind)
#DBE8D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d1f45c;
/* rgb */ color: rgb(209, 244, 92);
/* oklch */ color: oklch(91.4% 0.179 121.1);
Tailwind
colors: {
  custom: {
    50: '#e2f790',
    500: '#d1f45c',
    950: '#000000',
  },
}
SCSS
$custom: #d1f45c;
$custom-light: #e2f790;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f45c",
  "rgb": {
    "r": 209,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 73.816,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91357,
    "c": 0.17946,
    "h": 121.1
  },
  "luminance": 0.79029
}

Semantic roles & 50–950 ramp

primary
#D1F45C
secondary
#522FC5
accent
#02E436
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1F45C

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

Preview Lab → · Contrast checker → · Palette generator →

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