#D6F262#D6F262

#D6F262 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.3% C 0.171 H 119.2°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#D6F262
RGBrgb(214, 242, 98)
HSLhsl(72, 85%, 67%)
HSVhsv(72, 60%, 95%)
CMYKcmyk(11.6%, 0%, 59.5%, 5.1%)
CIE-LABlab(91.09, -28.69, 64.69)
CIE-LCHlch(91.09, 70.76, 113.92°)
OKLaboklab(91.33% -0.0832 0.1489)
OKLCHoklch(91.33% 0.171 119.2)
XYZxyz(61.6892, 78.6826, 23.4903)
Luminance0.7868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F262 #7E62F2
analogous
#F2C662 #D6F262 #8EF262
triadic
#D6F262 #62D6F2 #F262D6
tetradic
#D6F262 #62F2C6 #7E62F2 #F2628E
square
#D6F262 #62F2C6 #7E62F2 #F2628E
split-complementary
#D6F262 #628EF2 #C662F2
monochromatic
#A5C911 #C7ED29 #D6F262 #E5F79B #F4FBD3

Accessibility & contrast

On white

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

On black

16.74
#D6F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F262
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F262#FFFFFF#000000##000000
##D6F2621.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6f262;
/* rgb */ color: rgb(214, 242, 98);
/* oklch */ color: oklch(91.3% 0.171 119.2);
Tailwind
colors: {
  custom: {
    50: '#e5f694',
    500: '#d6f262',
    950: '#000000',
  },
}
SCSS
$custom: #d6f262;
$custom-light: #e5f694;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f262",
  "rgb": {
    "r": 214,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 71.667,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91331,
    "c": 0.17063,
    "h": 119.2
  },
  "luminance": 0.78682
}

Semantic roles & 50–950 ramp

primary
#D6F262
secondary
#4F33C6
accent
#04E12F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D6F262

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

Preview Lab → · Contrast checker → · Palette generator →

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