#DEF56A#DEF56A

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

Color values

HEX#DEF56A
RGBrgb(222, 245, 106)
HSLhsl(70, 87%, 69%)
HSVhsv(70, 57%, 96%)
CMYKcmyk(9.4%, 0%, 56.7%, 3.9%)
CIE-LABlab(92.52, -26.39, 63.04)
CIE-LCHlch(92.52, 68.34, 112.71°)
OKLaboklab(92.64% -0.0765 0.1462)
OKLCHoklch(92.64% 0.165 117.6)
XYZxyz(65.3792, 81.8756, 25.9923)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF56A #816AF5
analogous
#F5C76A #DEF56A #99F56A
triadic
#DEF56A #6ADEF5 #F56ADE
tetradic
#DEF56A #6AF5C7 #816AF5 #F56A99
square
#DEF56A #6AF5C7 #816AF5 #F56A99
split-complementary
#DEF56A #6A99F5 #C76AF5
monochromatic
#B5D60E #D1F131 #DEF56A #EBF9A3 #F7FDDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF56A#FFFFFF#000000##000000
##DEF56A1.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)
#FFE95B
Deuteranopia (green-blind)
#FFEA73
Tritanopia (blue-blind)
#EAE9D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def56a;
/* rgb */ color: rgb(222, 245, 106);
/* oklch */ color: oklch(92.6% 0.165 117.6);
Tailwind
colors: {
  custom: {
    50: '#ebf899',
    500: '#def56a',
    950: '#000000',
  },
}
SCSS
$custom: #def56a;
$custom-light: #ebf899;
$custom-dark: #000000;
JSON
{
  "hex": "#def56a",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 69.928,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9264,
    "c": 0.165,
    "h": 117.6
  },
  "luminance": 0.81875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF56A

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

Preview Lab → · Contrast checker → · Palette generator →

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