#D4F262#D4F262

#D4F262 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.2% C 0.171 H 119.9°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#D4F262
RGBrgb(212, 242, 98)
HSLhsl(73, 85%, 67%)
HSVhsv(73, 60%, 95%)
CMYKcmyk(12.4%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.95, -29.47, 64.50)
CIE-LCHlch(90.95, 70.91, 114.55°)
OKLaboklab(91.19% -0.0853 0.1486)
OKLCHoklch(91.19% 0.171 119.9)
XYZxyz(61.1089, 78.3834, 23.4631)
Luminance0.7838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F262 #8062F2
analogous
#F2C862 #D4F262 #8CF262
triadic
#D4F262 #62D4F2 #F262D4
tetradic
#D4F262 #62F2C8 #8062F2 #F2628C
square
#D4F262 #62F2C8 #8062F2 #F2628C
split-complementary
#D4F262 #628CF2 #C862F2
monochromatic
#A3C911 #C5ED29 #D4F262 #E3F79B #F3FBD3

Accessibility & contrast

On white

1.26
#D4F262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#D4F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F262
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F262#FFFFFF#000000##000000
##D4F2621.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE551
Deuteranopia (green-blind)
#FDE56C
Tritanopia (blue-blind)
#DFE6D3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d4f262;
/* rgb */ color: rgb(212, 242, 98);
/* oklch */ color: oklch(91.2% 0.171 119.9);
Tailwind
colors: {
  custom: {
    50: '#e4f694',
    500: '#d4f262',
    950: '#000000',
  },
}
SCSS
$custom: #d4f262;
$custom-light: #e4f694;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f262",
  "rgb": {
    "r": 212,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 72.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91188,
    "c": 0.17132,
    "h": 119.9
  },
  "luminance": 0.78383
}

Semantic roles & 50–950 ramp

primary
#D4F262
secondary
#5133C6
accent
#04E132
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D4F262

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

Preview Lab → · Contrast checker → · Palette generator →

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