#DEF86C#DEF86C

#DEF86C is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.3% C 0.167 H 118.6°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#DEF86C
RGBrgb(222, 248, 108)
HSLhsl(71, 91%, 70%)
HSVhsv(71, 56%, 97%)
CMYKcmyk(10.5%, 0%, 56.5%, 2.7%)
CIE-LABlab(93.34, -27.64, 63.10)
CIE-LCHlch(93.34, 68.89, 113.66°)
OKLaboklab(93.31% -0.0798 0.1466)
OKLCHoklch(93.31% 0.167 118.6)
XYZxyz(66.3993, 83.7476, 26.8514)
Luminance0.8375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF86C #866CF8
analogous
#F8CC6C #DEF86C #98F86C
triadic
#DEF86C #6CDEF8 #F86CDE
tetradic
#DEF86C #6CF8CC #866CF8 #F86C98
square
#DEF86C #6CF8CC #866CF8 #F86C98
split-complementary
#DEF86C #6C98F8 #CC6CF8
monochromatic
#B8DF0B #D1F532 #DEF86C #EBFBA6 #F8FEE1

Accessibility & contrast

On white

1.18
#DEF86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#DEF86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF86C
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF86C#FFFFFF#000000##000000
##DEF86C1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFED75
Tritanopia (blue-blind)
#E9ECDA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def86c;
/* rgb */ color: rgb(222, 248, 108);
/* oklch */ color: oklch(93.3% 0.167 118.6);
Tailwind
colors: {
  custom: {
    50: '#ebfa9a',
    500: '#def86c',
    950: '#000000',
  },
}
SCSS
$custom: #def86c;
$custom-light: #ebfa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#def86c",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 71.143,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93305,
    "c": 0.16688,
    "h": 118.6
  },
  "luminance": 0.83747
}

Semantic roles & 50–950 ramp

primary
#DEF86C
secondary
#5336D2
accent
#00E62B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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