#DEF386#DEF386

#DEF386 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.6% C 0.136 H 118.1°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#DEF386
RGBrgb(222, 243, 134)
HSLhsl(72, 82%, 74%)
HSVhsv(72, 45%, 95%)
CMYKcmyk(8.6%, 0%, 44.9%, 4.7%)
CIE-LABlab(92.29, -22.93, 50.03)
CIE-LCHlch(92.29, 55.03, 114.62°)
OKLaboklab(92.55% -0.0642 0.1203)
OKLCHoklch(92.55% 0.136 118.1)
XYZxyz(66.4784, 81.3525, 34.7501)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF386 #9B86F3
analogous
#F3D286 #DEF386 #A8F386
triadic
#DEF386 #86DEF3 #F386DE
tetradic
#DEF386 #86F3D2 #9B86F3 #F386A8
square
#DEF386 #86F3D2 #9B86F3 #F386A8
split-complementary
#DEF386 #86A8F3 #D286F3
monochromatic
#BFE817 #CFED4E #DEF386 #EDF9BE #F7FCE3

Accessibility & contrast

On white

1.22
#DEF386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#DEF386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF386
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF386#FFFFFF#000000##000000
##DEF3861.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97D
Deuteranopia (green-blind)
#FDE98C
Tritanopia (blue-blind)
#E8E9D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def386;
/* rgb */ color: rgb(222, 243, 134);
/* oklch */ color: oklch(92.6% 0.136 118.1);
Tailwind
colors: {
  custom: {
    50: '#eaf7ab',
    500: '#def386',
    950: '#000000',
  },
}
SCSS
$custom: #def386;
$custom-light: #eaf7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#def386",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 134
  },
  "hsl": {
    "h": 71.56,
    "s": 81.955,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92552,
    "c": 0.13635,
    "h": 118.1
  },
  "luminance": 0.81352
}

Semantic roles & 50–950 ramp

primary
#DEF386
secondary
#674ECF
accent
#07DE31
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF386

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

Preview Lab → · Contrast checker → · Palette generator →

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