#DFEF5D#DFEF5D

#DFEF5D is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.3% C 0.168 H 115.1°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#DFEF5D
RGBrgb(223, 239, 93)
HSLhsl(67, 82%, 65%)
HSVhsv(67, 61%, 94%)
CMYKcmyk(6.7%, 0%, 61.1%, 6.3%)
CIE-LABlab(90.88, -24.09, 66.70)
CIE-LCHlch(90.88, 70.92, 109.86°)
OKLaboklab(91.31% -0.0713 0.1524)
OKLCHoklch(91.31% 0.168 115.1)
XYZxyz(63.2751, 78.2123, 22.1170)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF5D #6D5DEF
analogous
#EFB65D #DFEF5D #96EF5D
triadic
#DFEF5D #5DDFEF #EF5DDF
tetradic
#DFEF5D #5DEFB6 #6D5DEF #EF5D96
square
#DFEF5D #5DEFB6 #6D5DEF #EF5D96
split-complementary
#DFEF5D #5D96EF #B65DEF
monochromatic
#ACBF13 #D4E925 #DFEF5D #EAF595 #F5FACC

Accessibility & contrast

On white

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

On black

16.64
#DFEF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF5D
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF5D#FFFFFF#000000##000000
##DFEF5D1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44B
Deuteranopia (green-blind)
#FEE667
Tritanopia (blue-blind)
#ECE2D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef5d;
/* rgb */ color: rgb(223, 239, 93);
/* oklch */ color: oklch(91.3% 0.168 115.1);
Tailwind
colors: {
  custom: {
    50: '#ecf491',
    500: '#dfef5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfef5d;
$custom-light: #ecf491;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef5d",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 93
  },
  "hsl": {
    "h": 66.575,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91305,
    "c": 0.16829,
    "h": 115.1
  },
  "luminance": 0.78211
}

Semantic roles & 50–950 ramp

primary
#DFEF5D
secondary
#4233BD
accent
#07DE1F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DFEF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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