#DFE842#DFE842

#DFE842 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 89.6% C 0.179 H 112.6°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#DFE842
RGBrgb(223, 232, 66)
HSLhsl(63, 78%, 58%)
HSVhsv(63, 72%, 91%)
CMYKcmyk(3.9%, 0%, 71.6%, 9%)
CIE-LABlab(88.83, -22.27, 74.71)
CIE-LCHlch(88.83, 77.96, 106.60°)
OKLaboklab(89.6% -0.0688 0.1652)
OKLCHoklch(89.6% 0.179 112.6)
XYZxyz(60.2733, 73.7959, 16.2222)
Luminance0.7379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE842 #4B42E8
analogous
#E89E42 #DFE842 #8CE842
triadic
#DFE842 #42DFE8 #E842DF
tetradic
#DFE842 #42E89E #4B42E8 #E8428C
square
#DFE842 #42E89E #4B42E8 #E8428C
split-complementary
#DFE842 #428CE8 #9E42E8
monochromatic
#959D13 #C9D31A #DFE842 #E8EF79 #F1F5AF

Accessibility & contrast

On white

1.33
#DFE842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#DFE842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE842
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE842#FFFFFF#000000##000000
##DFE8421.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD22
Deuteranopia (green-blind)
#FAE14F
Tritanopia (blue-blind)
#EEDAC8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #dfe842;
/* rgb */ color: rgb(223, 232, 66);
/* oklch */ color: oklch(89.6% 0.179 112.6);
Tailwind
colors: {
  custom: {
    50: '#edef81',
    500: '#dfe842',
    950: '#000000',
  },
}
SCSS
$custom: #dfe842;
$custom-light: #edef81;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe842",
  "rgb": {
    "r": 223,
    "g": 232,
    "b": 66
  },
  "hsl": {
    "h": 63.253,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.89603,
    "c": 0.17898,
    "h": 112.6
  },
  "luminance": 0.73795
}

Semantic roles & 50–950 ramp

primary
#DFE842
secondary
#352FA0
accent
#33F53E
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #DFE842

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

Preview Lab → · Contrast checker → · Palette generator →

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