#DFF052#DFF052

#DFF052 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.4% C 0.177 H 115.3°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#DFF052
RGBrgb(223, 240, 82)
HSLhsl(66, 84%, 63%)
HSVhsv(66, 66%, 94%)
CMYKcmyk(7.1%, 0%, 65.8%, 5.9%)
CIE-LABlab(91.06, -25.25, 71.22)
CIE-LCHlch(91.06, 75.56, 109.52°)
OKLaboklab(91.43% -0.0757 0.1604)
OKLCHoklch(91.43% 0.177 115.3)
XYZxyz(63.1161, 78.6184, 19.8310)
Luminance0.7862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF052 #6352F0
analogous
#F0B252 #DFF052 #90F052
triadic
#DFF052 #52DFF0 #F052DF
tetradic
#DFF052 #52F0B2 #6352F0 #F05290
square
#DFF052 #52F0B2 #6352F0 #F05290
split-complementary
#DFF052 #5290F0 #B252F0
monochromatic
#A6B810 #D5EB1A #DFF052 #E9F58A #F4FAC3

Accessibility & contrast

On white

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

On black

16.72
#DFF052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF052
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF052#FFFFFF#000000##000000
##DFF0521.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43B
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#EDE3D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dff052;
/* rgb */ color: rgb(223, 240, 82);
/* oklch */ color: oklch(91.4% 0.177 115.3);
Tailwind
colors: {
  custom: {
    50: '#ecf48b',
    500: '#dff052',
    950: '#000000',
  },
}
SCSS
$custom: #dff052;
$custom-light: #ecf48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dff052",
  "rgb": {
    "r": 223,
    "g": 240,
    "b": 82
  },
  "hsl": {
    "h": 66.456,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.91426,
    "c": 0.17736,
    "h": 115.3
  },
  "luminance": 0.78617
}

Semantic roles & 50–950 ramp

primary
#DFF052
secondary
#3E2FB7
accent
#05E01D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DFF052

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

Preview Lab → · Contrast checker → · Palette generator →

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