#DEF456#DEF456

#DEF456 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.2% C 0.179 H 116.8°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#DEF456
RGBrgb(222, 244, 86)
HSLhsl(68, 88%, 65%)
HSVhsv(68, 65%, 96%)
CMYKcmyk(9%, 0%, 64.8%, 4.3%)
CIE-LABlab(92.09, -27.30, 70.74)
CIE-LCHlch(92.09, 75.82, 111.10°)
OKLaboklab(92.24% -0.0809 0.16)
OKLCHoklch(92.24% 0.179 116.8)
XYZxyz(64.1560, 80.9036, 21.0385)
Luminance0.8090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF456 #6C56F4
analogous
#F4BB56 #DEF456 #8FF456
triadic
#DEF456 #56DEF4 #F456DE
tetradic
#DEF456 #56F4BB #6C56F4 #F4568F
square
#DEF456 #56F4BB #6C56F4 #F4568F
split-complementary
#DEF456 #568FF4 #BB56F4
monochromatic
#AAC30D #D3F01D #DEF456 #E9F88F #F4FBC9

Accessibility & contrast

On white

1.22
#DEF456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#DEF456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF456
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF456#FFFFFF#000000##000000
##DEF4561.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE840
Deuteranopia (green-blind)
#FFE961
Tritanopia (blue-blind)
#EBE7D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def456;
/* rgb */ color: rgb(222, 244, 86);
/* oklch */ color: oklch(92.2% 0.179 116.8);
Tailwind
colors: {
  custom: {
    50: '#ebf78d',
    500: '#def456',
    950: '#000000',
  },
}
SCSS
$custom: #def456;
$custom-light: #ebf78d;
$custom-dark: #000000;
JSON
{
  "hex": "#def456",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 86
  },
  "hsl": {
    "h": 68.354,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92242,
    "c": 0.1793,
    "h": 116.8
  },
  "luminance": 0.80903
}

Semantic roles & 50–950 ramp

primary
#DEF456
secondary
#422EC0
accent
#01E421
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF456

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

Preview Lab → · Contrast checker → · Palette generator →

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