#DEF156#DEF156

#DEF156 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.6% C 0.176 H 115.9°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#DEF156
RGBrgb(222, 241, 86)
HSLhsl(67, 85%, 64%)
HSVhsv(67, 64%, 95%)
CMYKcmyk(7.9%, 0%, 64.3%, 5.5%)
CIE-LABlab(91.29, -25.89, 69.90)
CIE-LCHlch(91.29, 74.54, 110.32°)
OKLaboklab(91.6% -0.077 0.1582)
OKLCHoklch(91.6% 0.176 115.9)
XYZxyz(63.2606, 79.1130, 20.7401)
Luminance0.7911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF156 #6956F1
analogous
#F1B756 #DEF156 #91F156
triadic
#DEF156 #56DEF1 #F156DE
tetradic
#DEF156 #56F1B7 #6956F1 #F15691
square
#DEF156 #56F1B7 #6956F1 #F15691
split-complementary
#DEF156 #5691F1 #B756F1
monochromatic
#A8BD10 #D3EC1D #DEF156 #E9F68F #F4FAC7

Accessibility & contrast

On white

1.25
#DEF156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#DEF156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF156
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF156#FFFFFF#000000##000000
##DEF1561.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE541
Deuteranopia (green-blind)
#FFE761
Tritanopia (blue-blind)
#EBE4D1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def156;
/* rgb */ color: rgb(222, 241, 86);
/* oklch */ color: oklch(91.6% 0.176 115.9);
Tailwind
colors: {
  custom: {
    50: '#ebf58d',
    500: '#def156',
    950: '#000000',
  },
}
SCSS
$custom: #def156;
$custom-light: #ebf58d;
$custom-dark: #000000;
JSON
{
  "hex": "#def156",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 86
  },
  "hsl": {
    "h": 67.355,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91597,
    "c": 0.17597,
    "h": 115.9
  },
  "luminance": 0.79112
}

Semantic roles & 50–950 ramp

primary
#DEF156
secondary
#4130BB
accent
#04E11F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF156

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

Preview Lab → · Contrast checker → · Palette generator →

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