#D6F97B#D6F97B

#D6F97B 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.70:1 contrast (WCAG AA passes).

Color values

HEX#D6F97B
RGBrgb(214, 249, 123)
HSLhsl(77, 91%, 73%)
HSVhsv(77, 51%, 98%)
CMYKcmyk(14.1%, 0%, 50.6%, 2.4%)
CIE-LABlab(93.22, -29.86, 56.16)
CIE-LCHlch(93.22, 63.61, 118.00°)
OKLaboklab(93.12% -0.0843 0.1331)
OKLCHoklch(93.12% 0.158 122.3)
XYZxyz(65.1827, 83.4774, 31.4138)
Luminance0.8348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F97B #9E7BF9
analogous
#F9DD7B #D6F97B #97F97B
triadic
#D6F97B #7BD6F9 #F97BD6
tetradic
#D6F97B #7BF9DD #9E7BF9 #F97B97
square
#D6F97B #7BF9DD #9E7BF9 #F97B97
split-complementary
#D6F97B #7B97F9 #DD7BF9
monochromatic
#AFEF0B #C4F640 #D6F97B #E8FCB6 #F6FEE2

Accessibility & contrast

On white

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

On black

17.70
#D6F97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F97B
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F97B#FFFFFF#000000##000000
##D6F97B1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6f97b;
/* rgb */ color: rgb(214, 249, 123);
/* oklch */ color: oklch(93.1% 0.158 122.3);
Tailwind
colors: {
  custom: {
    50: '#e5fba4',
    500: '#d6f97b',
    950: '#000000',
  },
}
SCSS
$custom: #d6f97b;
$custom-light: #e5fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f97b",
  "rgb": {
    "r": 214,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 76.667,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93123,
    "c": 0.15753,
    "h": 122.3
  },
  "luminance": 0.83478
}

Semantic roles & 50–950 ramp

primary
#D6F97B
secondary
#6B43D6
accent
#00E640
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D6F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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