#DEF56F#DEF56F

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

Color values

HEX#DEF56F
RGBrgb(222, 245, 111)
HSLhsl(70, 87%, 70%)
HSVhsv(70, 55%, 96%)
CMYKcmyk(9.4%, 0%, 54.7%, 3.9%)
CIE-LABlab(92.57, -25.99, 60.91)
CIE-LCHlch(92.57, 66.23, 113.11°)
OKLaboklab(92.69% -0.0749 0.1422)
OKLCHoklch(92.69% 0.161 117.8)
XYZxyz(65.6468, 81.9827, 27.4018)
Luminance0.8198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF56F #866FF5
analogous
#F5C96F #DEF56F #9BF56F
triadic
#DEF56F #6FDEF5 #F56FDE
tetradic
#DEF56F #6FF5C9 #866FF5 #F56F9B
square
#DEF56F #6FF5C9 #866FF5 #F56F9B
split-complementary
#DEF56F #6F9BF5 #C96FF5
monochromatic
#B8DA0F #D1F136 #DEF56F #EBF9A8 #F8FDE1

Accessibility & contrast

On white

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

On black

17.40
#DEF56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF56F
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF56F#FFFFFF#000000##000000
##DEF56F1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE961
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#E9E9D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def56f;
/* rgb */ color: rgb(222, 245, 111);
/* oklch */ color: oklch(92.7% 0.161 117.8);
Tailwind
colors: {
  custom: {
    50: '#ebf89c',
    500: '#def56f',
    950: '#000000',
  },
}
SCSS
$custom: #def56f;
$custom-light: #ebf89c;
$custom-dark: #000000;
JSON
{
  "hex": "#def56f",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 70.299,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92693,
    "c": 0.16071,
    "h": 117.8
  },
  "luminance": 0.81982
}

Semantic roles & 50–950 ramp

primary
#DEF56F
secondary
#5339CF
accent
#02E429
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF56F

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

Preview Lab → · Contrast checker → · Palette generator →

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