#DFEF48#DFEF48

#DFEF48 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.1% C 0.183 H 114.8°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#DFEF48
RGBrgb(223, 239, 72)
HSLhsl(66, 84%, 61%)
HSVhsv(66, 70%, 94%)
CMYKcmyk(6.7%, 0%, 69.9%, 6.3%)
CIE-LABlab(90.73, -25.32, 74.51)
CIE-LCHlch(90.73, 78.69, 108.77°)
OKLaboklab(91.14% -0.0768 0.1658)
OKLCHoklch(91.14% 0.183 114.8)
XYZxyz(62.4693, 77.8900, 17.8731)
Luminance0.7789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF48 #5848EF
analogous
#EFAC48 #DFEF48 #8BEF48
triadic
#DFEF48 #48DFEF #EF48DF
tetradic
#DFEF48 #48EFAC #5848EF #EF488B
square
#DFEF48 #48EFAC #5848EF #EF488B
split-complementary
#DFEF48 #488BEF #AC48EF
monochromatic
#9EAD0F #D2E614 #DFEF48 #E9F480 #F3F9B9

Accessibility & contrast

On white

1.27
#DFEF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#DFEF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF48
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF48#FFFFFF#000000##000000
##DFEF481.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE32B
Deuteranopia (green-blind)
#FFE655
Tritanopia (blue-blind)
#EDE1CE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #dfef48;
/* rgb */ color: rgb(223, 239, 72);
/* oklch */ color: oklch(91.1% 0.183 114.8);
Tailwind
colors: {
  custom: {
    50: '#edf485',
    500: '#dfef48',
    950: '#000000',
  },
}
SCSS
$custom: #dfef48;
$custom-light: #edf485;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef48",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 72
  },
  "hsl": {
    "h": 65.749,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.9114,
    "c": 0.18269,
    "h": 114.8
  },
  "luminance": 0.77889
}

Semantic roles & 50–950 ramp

primary
#DFEF48
secondary
#3A2DAE
accent
#05E01A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DFEF48

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

Preview Lab → · Contrast checker → · Palette generator →

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