#DFE042#DFE042

#DFE042 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 87.9% C 0.171 H 109.8°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#DFE042
RGBrgb(223, 224, 66)
HSLhsl(60, 72%, 57%)
HSVhsv(60, 71%, 88%)
CMYKcmyk(0.4%, 0%, 70.5%, 12.2%)
CIE-LABlab(86.70, -18.39, 72.66)
CIE-LCHlch(86.70, 74.96, 104.20°)
OKLaboklab(87.9% -0.058 0.1609)
OKLCHoklch(87.9% 0.171 109.8)
XYZxyz(58.0725, 69.3943, 15.4886)
Luminance0.6939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE042 #4342E0
analogous
#E09242 #DFE042 #90E042
triadic
#DFE042 #42DFE0 #E042DF
tetradic
#DFE042 #42E092 #4342E0 #E04290
square
#DFE042 #42E092 #4342E0 #E04290
split-complementary
#DFE042 #4290E0 #9242E0
monochromatic
#8F9018 #C4C520 #DFE042 #E8E977 #F1F1AB

Accessibility & contrast

On white

1.41
#DFE042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#DFE042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE042
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE042#FFFFFF#000000##000000
##DFE0421.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D725
Deuteranopia (green-blind)
#F3DB4E
Tritanopia (blue-blind)
#EFD2C1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfe042;
/* rgb */ color: rgb(223, 224, 66);
/* oklch */ color: oklch(87.9% 0.171 109.8);
Tailwind
colors: {
  custom: {
    50: '#ede981',
    500: '#dfe042',
    950: '#000000',
  },
}
SCSS
$custom: #dfe042;
$custom-light: #ede981;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe042",
  "rgb": {
    "r": 223,
    "g": 224,
    "b": 66
  },
  "hsl": {
    "h": 60.38,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.87902,
    "c": 0.17103,
    "h": 109.8
  },
  "luminance": 0.69393
}

Semantic roles & 50–950 ramp

primary
#DFE042
secondary
#323195
accent
#39EF3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DFE042

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

Preview Lab → · Contrast checker → · Palette generator →

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