#DFEF54#DFEF54

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

Color values

HEX#DFEF54
RGBrgb(223, 239, 84)
HSLhsl(66, 83%, 63%)
HSVhsv(66, 65%, 94%)
CMYKcmyk(6.7%, 0%, 64.9%, 6.3%)
CIE-LABlab(90.81, -24.66, 70.20)
CIE-LCHlch(90.81, 74.40, 109.36°)
OKLaboklab(91.23% -0.0738 0.1586)
OKLCHoklch(91.23% 0.175 115)
XYZxyz(62.8997, 78.0621, 20.1398)
Luminance0.7806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF54 #6454EF
analogous
#EFB254 #DFEF54 #91EF54
triadic
#DFEF54 #54DFEF #EF54DF
tetradic
#DFEF54 #54EFB2 #6454EF #EF5491
square
#DFEF54 #54EFB2 #6454EF #EF5491
split-complementary
#DFEF54 #5491EF #B254EF
monochromatic
#A6B711 #D5EA1C #DFEF54 #E9F48C #F4F9C4

Accessibility & contrast

On white

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

On black

16.61
#DFEF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF54
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF54#FFFFFF#000000##000000
##DFEF541.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33E
Deuteranopia (green-blind)
#FEE65F
Tritanopia (blue-blind)
#EDE2CF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef54;
/* rgb */ color: rgb(223, 239, 84);
/* oklch */ color: oklch(91.2% 0.175 115.0);
Tailwind
colors: {
  custom: {
    50: '#ecf48c',
    500: '#dfef54',
    950: '#000000',
  },
}
SCSS
$custom: #dfef54;
$custom-light: #ecf48c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef54",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 84
  },
  "hsl": {
    "h": 66.194,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91228,
    "c": 0.1749,
    "h": 115
  },
  "luminance": 0.78061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFEF54

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

Preview Lab → · Contrast checker → · Palette generator →

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