#D6F162#D6F162

#D6F162 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.169 H 118.9°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#D6F162
RGBrgb(214, 241, 98)
HSLhsl(71, 84%, 66%)
HSVhsv(71, 59%, 95%)
CMYKcmyk(11.2%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.82, -28.22, 64.39)
CIE-LCHlch(90.82, 70.30, 113.67°)
OKLaboklab(91.11% -0.0819 0.1483)
OKLCHoklch(91.11% 0.169 118.9)
XYZxyz(61.3924, 78.0890, 23.3914)
Luminance0.7809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F162 #7D62F1
analogous
#F1C562 #D6F162 #8FF162
triadic
#D6F162 #62D6F1 #F162D6
tetradic
#D6F162 #62F1C5 #7D62F1 #F1628F
square
#D6F162 #62F1C5 #7D62F1 #F1628F
split-complementary
#D6F162 #628FF1 #C562F1
monochromatic
#A5C712 #C7EC2A #D6F162 #E5F69A #F3FBD2

Accessibility & contrast

On white

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

On black

16.62
#D6F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F162
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F162#FFFFFF#000000##000000
##D6F1621.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FCE56B
Tritanopia (blue-blind)
#E1E5D3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d6f162;
/* rgb */ color: rgb(214, 241, 98);
/* oklch */ color: oklch(91.1% 0.169 118.9);
Tailwind
colors: {
  custom: {
    50: '#e5f594',
    500: '#d6f162',
    950: '#000000',
  },
}
SCSS
$custom: #d6f162;
$custom-light: #e5f594;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f162",
  "rgb": {
    "r": 214,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 71.329,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91114,
    "c": 0.16944,
    "h": 118.9
  },
  "luminance": 0.78089
}

Semantic roles & 50–950 ramp

primary
#D6F162
secondary
#4F33C4
accent
#05E02F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #D6F162

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

Preview Lab → · Contrast checker → · Palette generator →

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