#DFEF4A#DFEF4A

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

Color values

HEX#DFEF4A
RGBrgb(223, 239, 74)
HSLhsl(66, 84%, 61%)
HSVhsv(66, 69%, 94%)
CMYKcmyk(6.7%, 0%, 69%, 6.3%)
CIE-LABlab(90.74, -25.22, 73.82)
CIE-LCHlch(90.74, 78.01, 108.86°)
OKLaboklab(91.15% -0.0763 0.1647)
OKLCHoklch(91.15% 0.181 114.9)
XYZxyz(62.5356, 77.9165, 18.2223)
Luminance0.7792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF4A #5A4AEF
analogous
#EFAD4A #DFEF4A #8DEF4A
triadic
#DFEF4A #4ADFEF #EF4ADF
tetradic
#DFEF4A #4AEFAD #5A4AEF #EF4A8D
square
#DFEF4A #4AEFAD #5A4AEF #EF4A8D
split-complementary
#DFEF4A #4A8DEF #AD4AEF
monochromatic
#A0AF0F #D3E714 #DFEF4A #E9F482 #F3F9BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFEF4A#FFFFFF#000000##000000
##DFEF4A1.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)
#FFE32E
Deuteranopia (green-blind)
#FFE657
Tritanopia (blue-blind)
#EDE1CF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #dfef4a;
/* rgb */ color: rgb(223, 239, 74);
/* oklch */ color: oklch(91.2% 0.181 114.9);
Tailwind
colors: {
  custom: {
    50: '#edf486',
    500: '#dfef4a',
    950: '#000000',
  },
}
SCSS
$custom: #dfef4a;
$custom-light: #edf486;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef4a",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 74
  },
  "hsl": {
    "h": 65.818,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.91153,
    "c": 0.18147,
    "h": 114.9
  },
  "luminance": 0.77915
}

Semantic roles & 50–950 ramp

primary
#DFEF4A
secondary
#3A2EAF
accent
#05E01B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DFEF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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