#DFEF57#DFEF57

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

Color values

HEX#DFEF57
RGBrgb(223, 239, 87)
HSLhsl(66, 83%, 64%)
HSVhsv(66, 64%, 94%)
CMYKcmyk(6.7%, 0%, 63.6%, 6.3%)
CIE-LABlab(90.83, -24.48, 69.06)
CIE-LCHlch(90.83, 73.27, 109.52°)
OKLaboklab(91.25% -0.073 0.1566)
OKLCHoklch(91.25% 0.173 115)
XYZxyz(63.0197, 78.1101, 20.7719)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF57 #6757EF
analogous
#EFB357 #DFEF57 #93EF57
triadic
#DFEF57 #57DFEF #EF57DF
tetradic
#DFEF57 #57EFB3 #6757EF #EF5793
square
#DFEF57 #57EFB3 #6757EF #EF5793
split-complementary
#DFEF57 #5793EF #B357EF
monochromatic
#A8BA12 #D4EA1F #DFEF57 #EAF48F #F4FAC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFEF57#FFFFFF#000000##000000
##DFEF571.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)
#FFE443
Deuteranopia (green-blind)
#FEE661
Tritanopia (blue-blind)
#EDE2D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef57;
/* rgb */ color: rgb(223, 239, 87);
/* oklch */ color: oklch(91.3% 0.173 115.0);
Tailwind
colors: {
  custom: {
    50: '#ecf48d',
    500: '#dfef57',
    950: '#000000',
  },
}
SCSS
$custom: #dfef57;
$custom-light: #ecf48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef57",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 87
  },
  "hsl": {
    "h": 66.316,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91252,
    "c": 0.17276,
    "h": 115
  },
  "luminance": 0.78109
}

Semantic roles & 50–950 ramp

primary
#DFEF57
secondary
#4031B9
accent
#06DF1D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DFEF57

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

Preview Lab → · Contrast checker → · Palette generator →

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