#DFFC52#DFFC52

#DFFC52 is a very light, vivid yellow-green. Relative luminance 0.859; OKLCH L 94.0% C 0.191 H 118.6°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#DFFC52
RGBrgb(223, 252, 82)
HSLhsl(70, 97%, 65%)
HSVhsv(70, 67%, 99%)
CMYKcmyk(11.5%, 0%, 67.5%, 1.2%)
CIE-LABlab(94.28, -30.86, 74.49)
CIE-LCHlch(94.28, 80.63, 112.51°)
OKLaboklab(94.01% -0.0913 0.1673)
OKLCHoklch(94.01% 0.191 118.6)
XYZxyz(66.7661, 85.9185, 21.0477)
Luminance0.8592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFC52 #6F52FC
analogous
#FCC452 #DFFC52 #8AFC52
triadic
#DFFC52 #52DFFC #FC52DF
tetradic
#DFFC52 #52FCC4 #6F52FC #FC528A
square
#DFFC52 #52FCC4 #6F52FC #FC528A
split-complementary
#DFFC52 #528AFC #C452FC
monochromatic
#ADD004 #D4FB16 #DFFC52 #EAFD8E #F5FECA

Accessibility & contrast

On white

1.15
#DFFC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#DFFC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFC52
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFC52#FFFFFF#000000##000000
##DFFC521.001.1518.1818.18
#FFFFFF1.151.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE38
Deuteranopia (green-blind)
#FFEF5F
Tritanopia (blue-blind)
#ECEFDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dffc52;
/* rgb */ color: rgb(223, 252, 82);
/* oklch */ color: oklch(94.0% 0.191 118.6);
Tailwind
colors: {
  custom: {
    50: '#ecfd8c',
    500: '#dffc52',
    950: '#000000',
  },
}
SCSS
$custom: #dffc52;
$custom-light: #ecfd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dffc52",
  "rgb": {
    "r": 223,
    "g": 252,
    "b": 82
  },
  "hsl": {
    "h": 70.235,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.94009,
    "c": 0.19058,
    "h": 118.6
  },
  "luminance": 0.85918
}

Semantic roles & 50–950 ramp

primary
#DFFC52
secondary
#4327CB
accent
#00E627
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DFFC52

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

Preview Lab → · Contrast checker → · Palette generator →

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