#DEF566#DEF566

#DEF566 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 92.6% C 0.168 H 117.5°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#DEF566
RGBrgb(222, 245, 102)
HSLhsl(70, 88%, 68%)
HSVhsv(70, 58%, 96%)
CMYKcmyk(9.4%, 0%, 58.4%, 3.9%)
CIE-LABlab(92.48, -26.69, 64.70)
CIE-LCHlch(92.48, 69.99, 112.42°)
OKLaboklab(92.6% -0.0777 0.1493)
OKLCHoklch(92.6% 0.168 117.5)
XYZxyz(65.1760, 81.7943, 24.9222)
Luminance0.8179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF566 #7D66F5
analogous
#F5C466 #DEF566 #97F566
triadic
#DEF566 #66DEF5 #F566DE
tetradic
#DEF566 #66F5C4 #7D66F5 #F56697
square
#DEF566 #66F5C4 #7D66F5 #F56697
split-complementary
#DEF566 #6697F5 #C466F5
monochromatic
#B3D30E #D2F12D #DEF566 #EAF99F #F7FDD9

Accessibility & contrast

On white

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

On black

17.36
#DEF566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF566
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF566#FFFFFF#000000##000000
##DEF5661.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFEA6F
Tritanopia (blue-blind)
#EAE9D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def566;
/* rgb */ color: rgb(222, 245, 102);
/* oklch */ color: oklch(92.6% 0.168 117.5);
Tailwind
colors: {
  custom: {
    50: '#ebf897',
    500: '#def566',
    950: '#000000',
  },
}
SCSS
$custom: #def566;
$custom-light: #ebf897;
$custom-dark: #000000;
JSON
{
  "hex": "#def566",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 102
  },
  "hsl": {
    "h": 69.65,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.926,
    "c": 0.16832,
    "h": 117.5
  },
  "luminance": 0.81794
}

Semantic roles & 50–950 ramp

primary
#DEF566
secondary
#4B31CE
accent
#01E426
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF566

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

Preview Lab → · Contrast checker → · Palette generator →

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