#DFE052#DFE052

#DFE052 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.0% C 0.161 H 109.7°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#DFE052
RGBrgb(223, 224, 82)
HSLhsl(60, 70%, 60%)
HSVhsv(60, 63%, 88%)
CMYKcmyk(0.4%, 0%, 63.4%, 12.2%)
CIE-LABlab(86.81, -17.54, 66.82)
CIE-LCHlch(86.81, 69.08, 104.71°)
OKLaboklab(88.02% -0.054 0.1511)
OKLCHoklch(88.02% 0.161 109.7)
XYZxyz(58.6119, 69.6101, 18.3296)
Luminance0.6961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE052 #5352E0
analogous
#E09A52 #DFE052 #98E052
triadic
#DFE052 #52DFE0 #E052DF
tetradic
#DFE052 #52E09A #5352E0 #E05298
square
#DFE052 #52E09A #5352E0 #E05298
split-complementary
#DFE052 #5298E0 #9A52E0
monochromatic
#9B9C1C #CED025 #DFE052 #E9E986 #F2F3BA

Accessibility & contrast

On white

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

On black

14.92
#DFE052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE052
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE052#FFFFFF#000000##000000
##DFE0521.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#F3DB5B
Tritanopia (blue-blind)
#EED3C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfe052;
/* rgb */ color: rgb(223, 224, 82);
/* oklch */ color: oklch(88.0% 0.161 109.7);
Tailwind
colors: {
  custom: {
    50: '#ece989',
    500: '#dfe052',
    950: '#000000',
  },
}
SCSS
$custom: #dfe052;
$custom-light: #ece989;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe052",
  "rgb": {
    "r": 223,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 60.423,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.88021,
    "c": 0.1605,
    "h": 109.7
  },
  "luminance": 0.69608
}

Semantic roles & 50–950 ramp

primary
#DFE052
secondary
#38379F
accent
#3BEC3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFE052

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

Preview Lab → · Contrast checker → · Palette generator →

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