#D6F97A#D6F97A

#D6F97A is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.1% C 0.158 H 122.3°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#D6F97A
RGBrgb(214, 249, 122)
HSLhsl(77, 91%, 73%)
HSVhsv(77, 51%, 98%)
CMYKcmyk(14.1%, 0%, 51%, 2.4%)
CIE-LABlab(93.21, -29.95, 56.60)
CIE-LCHlch(93.21, 64.04, 117.89°)
OKLaboklab(93.11% -0.0846 0.134)
OKLCHoklch(93.11% 0.158 122.3)
XYZxyz(65.1204, 83.4525, 31.0858)
Luminance0.8345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F97A #9D7AF9
analogous
#F9DC7A #D6F97A #97F97A
triadic
#D6F97A #7AD6F9 #F97AD6
tetradic
#D6F97A #7AF9DC #9D7AF9 #F97A97
square
#D6F97A #7AF9DC #9D7AF9 #F97A97
split-complementary
#D6F97A #7A97F9 #DC7AF9
monochromatic
#AFEE0B #C4F63F #D6F97A #E8FCB5 #F6FEE2

Accessibility & contrast

On white

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

On black

17.69
#D6F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F97A
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F97A#FFFFFF#000000##000000
##D6F97A1.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#DFEEDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d6f97a;
/* rgb */ color: rgb(214, 249, 122);
/* oklch */ color: oklch(93.1% 0.158 122.3);
Tailwind
colors: {
  custom: {
    50: '#e5fba3',
    500: '#d6f97a',
    950: '#000000',
  },
}
SCSS
$custom: #d6f97a;
$custom-light: #e5fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f97a",
  "rgb": {
    "r": 214,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 76.535,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93111,
    "c": 0.15845,
    "h": 122.3
  },
  "luminance": 0.83453
}

Semantic roles & 50–950 ramp

primary
#D6F97A
secondary
#6A42D5
accent
#00E63F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D6F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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