#DEF56D#DEF56D

#DEF56D is a very light, vivid yellow-green. Relative luminance 0.819; 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#DEF56D
RGBrgb(222, 245, 109)
HSLhsl(70, 87%, 69%)
HSVhsv(70, 56%, 96%)
CMYKcmyk(9.4%, 0%, 55.5%, 3.9%)
CIE-LABlab(92.55, -26.15, 61.77)
CIE-LCHlch(92.55, 67.08, 112.95°)
OKLaboklab(92.67% -0.0755 0.1438)
OKLCHoklch(92.67% 0.162 117.7)
XYZxyz(65.5379, 81.9391, 26.8283)
Luminance0.8194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF56D #846DF5
analogous
#F5C86D #DEF56D #9AF56D
triadic
#DEF56D #6DDEF5 #F56DDE
tetradic
#DEF56D #6DF5C8 #846DF5 #F56D9A
square
#DEF56D #6DF5C8 #846DF5 #F56D9A
split-complementary
#DEF56D #6D9AF5 #C86DF5
monochromatic
#B7D90F #D1F134 #DEF56D #EBF9A6 #F8FDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF56D#FFFFFF#000000##000000
##DEF56D1.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)
#FFE95F
Deuteranopia (green-blind)
#FFEA75
Tritanopia (blue-blind)
#EAE9D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def56d;
/* rgb */ color: rgb(222, 245, 109);
/* oklch */ color: oklch(92.7% 0.162 117.7);
Tailwind
colors: {
  custom: {
    50: '#ebf89b',
    500: '#def56d',
    950: '#000000',
  },
}
SCSS
$custom: #def56d;
$custom-light: #ebf89b;
$custom-dark: #000000;
JSON
{
  "hex": "#def56d",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 70.147,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92672,
    "c": 0.16244,
    "h": 117.7
  },
  "luminance": 0.81939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF56D

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

Preview Lab → · Contrast checker → · Palette generator →

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