#D1F072#D1F072

#D1F072 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.7% C 0.156 H 121.1°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#D1F072
RGBrgb(209, 240, 114)
HSLhsl(75, 81%, 69%)
HSVhsv(75, 53%, 94%)
CMYKcmyk(12.9%, 0%, 52.5%, 5.9%)
CIE-LABlab(90.36, -28.37, 56.80)
CIE-LCHlch(90.36, 63.49, 116.55°)
OKLaboklab(90.71% -0.0806 0.1338)
OKLCHoklch(90.71% 0.156 121.1)
XYZxyz(60.4923, 77.0905, 27.6094)
Luminance0.7709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F072 #9172F0
analogous
#F0D072 #D1F072 #92F072
triadic
#D1F072 #72D1F0 #F072D1
tetradic
#D1F072 #72F0D0 #9172F0 #F07292
square
#D1F072 #72F0D0 #9172F0 #F07292
split-complementary
#D1F072 #7292F0 #D072F0
monochromatic
#A3D116 #BFEA3B #D1F072 #E3F6A9 #F5FCE1

Accessibility & contrast

On white

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

On black

16.42
#D1F072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F072
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F072#FFFFFF#000000##000000
##D1F0721.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#F9E47A
Tritanopia (blue-blind)
#DAE5D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d1f072;
/* rgb */ color: rgb(209, 240, 114);
/* oklch */ color: oklch(90.7% 0.156 121.1);
Tailwind
colors: {
  custom: {
    50: '#e1f59e',
    500: '#d1f072',
    950: '#000000',
  },
}
SCSS
$custom: #d1f072;
$custom-light: #e1f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f072",
  "rgb": {
    "r": 209,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 74.762,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90711,
    "c": 0.15618,
    "h": 121.1
  },
  "luminance": 0.7709
}

Semantic roles & 50–950 ramp

primary
#D1F072
secondary
#603DC9
accent
#08DD3D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F072

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

Preview Lab → · Contrast checker → · Palette generator →

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