#DEF56B#DEF56B

#DEF56B is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.7% C 0.164 H 117.6°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#DEF56B
RGBrgb(222, 245, 107)
HSLhsl(70, 87%, 69%)
HSVhsv(70, 56%, 96%)
CMYKcmyk(9.4%, 0%, 56.3%, 3.9%)
CIE-LABlab(92.53, -26.31, 62.62)
CIE-LCHlch(92.53, 67.92, 112.79°)
OKLaboklab(92.65% -0.0762 0.1454)
OKLCHoklch(92.65% 0.164 117.6)
XYZxyz(65.4315, 81.8965, 26.2677)
Luminance0.8190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF56B #826BF5
analogous
#F5C76B #DEF56B #99F56B
triadic
#DEF56B #6BDEF5 #F56BDE
tetradic
#DEF56B #6BF5C7 #826BF5 #F56B99
square
#DEF56B #6BF5C7 #826BF5 #F56B99
split-complementary
#DEF56B #6B99F5 #C76BF5
monochromatic
#B6D70F #D1F132 #DEF56B #EBF9A4 #F8FDDE

Accessibility & contrast

On white

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

On black

17.38
#DEF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF56B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF56B#FFFFFF#000000##000000
##DEF56B1.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def56b;
/* rgb */ color: rgb(222, 245, 107);
/* oklch */ color: oklch(92.7% 0.164 117.6);
Tailwind
colors: {
  custom: {
    50: '#ebf89a',
    500: '#def56b',
    950: '#000000',
  },
}
SCSS
$custom: #def56b;
$custom-light: #ebf89a;
$custom-dark: #000000;
JSON
{
  "hex": "#def56b",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 70,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92651,
    "c": 0.16415,
    "h": 117.6
  },
  "luminance": 0.81896
}

Semantic roles & 50–950 ramp

primary
#DEF56B
secondary
#4F36CE
accent
#02E427
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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