#DEF560#DEF560

#DEF560 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.5% C 0.173 H 117.3°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#DEF560
RGBrgb(222, 245, 96)
HSLhsl(69, 88%, 67%)
HSVhsv(69, 61%, 96%)
CMYKcmyk(9.4%, 0%, 60.8%, 3.9%)
CIE-LABlab(92.43, -27.12, 67.14)
CIE-LCHlch(92.43, 72.41, 112.00°)
OKLaboklab(92.54% -0.0795 0.1537)
OKLCHoklch(92.54% 0.173 117.3)
XYZxyz(64.8891, 81.6796, 23.4114)
Luminance0.8168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF560 #7760F5
analogous
#F5C260 #DEF560 #94F560
triadic
#DEF560 #60DEF5 #F560DE
tetradic
#DEF560 #60F5C2 #7760F5 #F56094
square
#DEF560 #60F5C2 #7760F5 #F56094
split-complementary
#DEF560 #6094F5 #C260F5
monochromatic
#B0CE0D #D2F126 #DEF560 #EAF99A #F6FCD3

Accessibility & contrast

On white

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

On black

17.34
#DEF560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF560
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF560#FFFFFF#000000##000000
##DEF5601.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94E
Deuteranopia (green-blind)
#FFEA6A
Tritanopia (blue-blind)
#EAE8D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def560;
/* rgb */ color: rgb(222, 245, 96);
/* oklch */ color: oklch(92.5% 0.173 117.3);
Tailwind
colors: {
  custom: {
    50: '#ebf893',
    500: '#def560',
    950: '#000000',
  },
}
SCSS
$custom: #def560;
$custom-light: #ebf893;
$custom-dark: #000000;
JSON
{
  "hex": "#def560",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 96
  },
  "hsl": {
    "h": 69.262,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92543,
    "c": 0.17307,
    "h": 117.3
  },
  "luminance": 0.81679
}

Semantic roles & 50–950 ramp

primary
#DEF560
secondary
#4730C9
accent
#01E524
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF560

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

Preview Lab → · Contrast checker → · Palette generator →

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