#DFEF56#DFEF56

#DFEF56 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.2% C 0.173 H 115.0°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#DFEF56
RGBrgb(223, 239, 86)
HSLhsl(66, 83%, 64%)
HSVhsv(66, 64%, 94%)
CMYKcmyk(6.7%, 0%, 64%, 6.3%)
CIE-LABlab(90.82, -24.54, 69.44)
CIE-LCHlch(90.82, 73.65, 109.46°)
OKLaboklab(91.24% -0.0733 0.1572)
OKLCHoklch(91.24% 0.173 115)
XYZxyz(62.9792, 78.0939, 20.5582)
Luminance0.7809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF56 #6656EF
analogous
#EFB356 #DFEF56 #92EF56
triadic
#DFEF56 #56DFEF #EF56DF
tetradic
#DFEF56 #56EFB3 #6656EF #EF5692
square
#DFEF56 #56EFB3 #6656EF #EF5692
split-complementary
#DFEF56 #5692EF #B356EF
monochromatic
#A8B912 #D4EA1E #DFEF56 #EAF48E #F4FAC6

Accessibility & contrast

On white

1.26
#DFEF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#DFEF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF56
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF56#FFFFFF#000000##000000
##DFEF561.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE441
Deuteranopia (green-blind)
#FEE661
Tritanopia (blue-blind)
#EDE2D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef56;
/* rgb */ color: rgb(223, 239, 86);
/* oklch */ color: oklch(91.2% 0.173 115.0);
Tailwind
colors: {
  custom: {
    50: '#ecf48d',
    500: '#dfef56',
    950: '#000000',
  },
}
SCSS
$custom: #dfef56;
$custom-light: #ecf48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef56",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 86
  },
  "hsl": {
    "h": 66.275,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91244,
    "c": 0.17349,
    "h": 115
  },
  "luminance": 0.78093
}

Semantic roles & 50–950 ramp

primary
#DFEF56
secondary
#3F31B8
accent
#06DF1D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DFEF56

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

Preview Lab → · Contrast checker → · Palette generator →

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