#D6F962#D6F962

#D6F962 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.9% C 0.179 H 121.0°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#D6F962
RGBrgb(214, 249, 98)
HSLhsl(74, 93%, 68%)
HSVhsv(74, 61%, 98%)
CMYKcmyk(14.1%, 0%, 60.6%, 2.4%)
CIE-LABlab(92.98, -31.94, 66.76)
CIE-LCHlch(92.98, 74.01, 115.57°)
OKLaboklab(92.85% -0.0923 0.1533)
OKLCHoklch(92.85% 0.179 121)
XYZxyz(63.8126, 82.9294, 24.1981)
Luminance0.8293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F962 #8562F9
analogous
#F9D062 #D6F962 #8AF962
triadic
#D6F962 #62D6F9 #F962D6
tetradic
#D6F962 #62F9D0 #8562F9 #F9628A
square
#D6F962 #62F9D0 #8562F9 #F9628A
split-complementary
#D6F962 #628AF9 #D062F9
monochromatic
#A8D808 #C7F727 #D6F962 #E5FB9D #F5FED8

Accessibility & contrast

On white

1.19
#D6F962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#D6F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F962
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F962#FFFFFF#000000##000000
##D6F9621.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFEB6C
Tritanopia (blue-blind)
#E1EDD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d6f962;
/* rgb */ color: rgb(214, 249, 98);
/* oklch */ color: oklch(92.9% 0.179 121.0);
Tailwind
colors: {
  custom: {
    50: '#e6fb94',
    500: '#d6f962',
    950: '#000000',
  },
}
SCSS
$custom: #d6f962;
$custom-light: #e6fb94;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f962",
  "rgb": {
    "r": 214,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 73.907,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92853,
    "c": 0.17898,
    "h": 121
  },
  "luminance": 0.82929
}

Semantic roles & 50–950 ramp

primary
#D6F962
secondary
#532DD2
accent
#00E635
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D6F962

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

Preview Lab → · Contrast checker → · Palette generator →

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