#DEF556#DEF556

#DEF556 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.5% C 0.180 H 117.1°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#DEF556
RGBrgb(222, 245, 86)
HSLhsl(69, 89%, 65%)
HSVhsv(69, 65%, 96%)
CMYKcmyk(9.4%, 0%, 64.9%, 3.9%)
CIE-LABlab(92.36, -27.77, 71.01)
CIE-LCHlch(92.36, 76.25, 111.36°)
OKLaboklab(92.46% -0.0822 0.1606)
OKLCHoklch(92.46% 0.18 117.1)
XYZxyz(64.4577, 81.5070, 21.1391)
Luminance0.8151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF556 #6D56F5
analogous
#F5BC56 #DEF556 #8FF556
triadic
#DEF556 #56DEF5 #F556DE
tetradic
#DEF556 #56F5BC #6D56F5 #F5568F
square
#DEF556 #56F5BC #6D56F5 #F5568F
split-complementary
#DEF556 #568FF5 #BC56F5
monochromatic
#AAC50C #D3F21C #DEF556 #E9F890 #F5FCCA

Accessibility & contrast

On white

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

On black

17.30
#DEF556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF556
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF556#FFFFFF#000000##000000
##DEF5561.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE840
Deuteranopia (green-blind)
#FFEA61
Tritanopia (blue-blind)
#EBE8D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def556;
/* rgb */ color: rgb(222, 245, 86);
/* oklch */ color: oklch(92.5% 0.180 117.1);
Tailwind
colors: {
  custom: {
    50: '#ecf88d',
    500: '#def556',
    950: '#000000',
  },
}
SCSS
$custom: #def556;
$custom-light: #ecf88d;
$custom-dark: #000000;
JSON
{
  "hex": "#def556",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 86
  },
  "hsl": {
    "h": 68.679,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92457,
    "c": 0.18042,
    "h": 117.1
  },
  "luminance": 0.81506
}

Semantic roles & 50–950 ramp

primary
#DEF556
secondary
#432DC2
accent
#00E521
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF556

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

Preview Lab → · Contrast checker → · Palette generator →

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