#D1F45B#D1F45B

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

Color values

HEX#D1F45B
RGBrgb(209, 244, 91)
HSLhsl(74, 87%, 66%)
HSVhsv(74, 63%, 96%)
CMYKcmyk(14.3%, 0%, 62.7%, 4.3%)
CIE-LABlab(91.24, -32.05, 67.61)
CIE-LCHlch(91.24, 74.83, 115.36°)
OKLaboklab(91.35% -0.093 0.1544)
OKLCHoklch(91.35% 0.18 121.1)
XYZxyz(60.5343, 79.0121, 21.9573)
Luminance0.7901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F45B #7E5BF4
analogous
#F4CA5B #D1F45B #85F45B
triadic
#D1F45B #5BD1F4 #F45BD1
tetradic
#D1F45B #5BF4CA #7E5BF4 #F45B85
square
#D1F45B #5BF4CA #7E5BF4 #F45B85
split-complementary
#D1F45B #5B85F4 #CA5BF4
monochromatic
#9DC70D #C1F022 #D1F45B #E1F894 #F1FCCE

Accessibility & contrast

On white

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

On black

16.80
#D1F45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F45B
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F45B#FFFFFF#000000##000000
##D1F45B1.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE648
Deuteranopia (green-blind)
#FEE666
Tritanopia (blue-blind)
#DCE8D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d1f45b;
/* rgb */ color: rgb(209, 244, 91);
/* oklch */ color: oklch(91.3% 0.180 121.1);
Tailwind
colors: {
  custom: {
    50: '#e2f790',
    500: '#d1f45b',
    950: '#000000',
  },
}
SCSS
$custom: #d1f45b;
$custom-light: #e2f790;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f45b",
  "rgb": {
    "r": 209,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 73.725,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91348,
    "c": 0.18021,
    "h": 121.1
  },
  "luminance": 0.79012
}

Semantic roles & 50–950 ramp

primary
#D1F45B
secondary
#512FC4
accent
#02E435
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1F45B

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

Preview Lab → · Contrast checker → · Palette generator →

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