#D1F262#D1F262

#D1F262 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 91.0% C 0.172 H 120.8°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#D1F262
RGBrgb(209, 242, 98)
HSLhsl(74, 85%, 67%)
HSVhsv(74, 60%, 95%)
CMYKcmyk(13.6%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.75, -30.63, 64.22)
CIE-LCHlch(90.75, 71.15, 115.50°)
OKLaboklab(90.98% -0.0884 0.148)
OKLCHoklch(90.98% 0.172 120.8)
XYZxyz(60.2519, 77.9415, 23.4230)
Luminance0.7794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F262 #8362F2
analogous
#F2CB62 #D1F262 #89F262
triadic
#D1F262 #62D1F2 #F262D1
tetradic
#D1F262 #62F2CB #8362F2 #F26289
square
#D1F262 #62F2CB #8362F2 #F26289
split-complementary
#D1F262 #6289F2 #CB62F2
monochromatic
#9FC911 #C0ED29 #D1F262 #E2F79B #F2FBD3

Accessibility & contrast

On white

1.27
#D1F262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#D1F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F262
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F262#FFFFFF#000000##000000
##D1F2621.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE551
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#DBE6D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d1f262;
/* rgb */ color: rgb(209, 242, 98);
/* oklch */ color: oklch(91.0% 0.172 120.8);
Tailwind
colors: {
  custom: {
    50: '#e2f694',
    500: '#d1f262',
    950: '#000000',
  },
}
SCSS
$custom: #d1f262;
$custom-light: #e2f694;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f262",
  "rgb": {
    "r": 209,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 73.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90975,
    "c": 0.17241,
    "h": 120.8
  },
  "luminance": 0.77941
}

Semantic roles & 50–950 ramp

primary
#D1F262
secondary
#5433C6
accent
#04E137
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D1F262

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

Preview Lab → · Contrast checker → · Palette generator →

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