#DEF56E#DEF56E

#DEF56E is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.7% C 0.162 H 117.7°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#DEF56E
RGBrgb(222, 245, 110)
HSLhsl(70, 87%, 70%)
HSVhsv(70, 55%, 96%)
CMYKcmyk(9.4%, 0%, 55.1%, 3.9%)
CIE-LABlab(92.56, -26.07, 61.34)
CIE-LCHlch(92.56, 66.65, 113.03°)
OKLaboklab(92.68% -0.0752 0.143)
OKLCHoklch(92.68% 0.162 117.7)
XYZxyz(65.5920, 81.9608, 27.1134)
Luminance0.8196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF56E #856EF5
analogous
#F5C86E #DEF56E #9BF56E
triadic
#DEF56E #6EDEF5 #F56EDE
tetradic
#DEF56E #6EF5C8 #856EF5 #F56E9B
square
#DEF56E #6EF5C8 #856EF5 #F56E9B
split-complementary
#DEF56E #6E9BF5 #C86EF5
monochromatic
#B7DA0F #D1F135 #DEF56E #EBF9A7 #F8FDE1

Accessibility & contrast

On white

1.21
#DEF56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#DEF56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF56E
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF56E#FFFFFF#000000##000000
##DEF56E1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE960
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#EAE9D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def56e;
/* rgb */ color: rgb(222, 245, 110);
/* oklch */ color: oklch(92.7% 0.162 117.7);
Tailwind
colors: {
  custom: {
    50: '#ebf89c',
    500: '#def56e',
    950: '#000000',
  },
}
SCSS
$custom: #def56e;
$custom-light: #ebf89c;
$custom-dark: #000000;
JSON
{
  "hex": "#def56e",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 70.222,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92682,
    "c": 0.16157,
    "h": 117.7
  },
  "luminance": 0.8196
}

Semantic roles & 50–950 ramp

primary
#DEF56E
secondary
#5238CF
accent
#02E428
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF56E

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

Preview Lab → · Contrast checker → · Palette generator →

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