#DCF752#DCF752

#DCF752 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 92.7% C 0.186 H 118.2°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#DCF752
RGBrgb(220, 247, 82)
HSLhsl(70, 91%, 65%)
HSVhsv(70, 67%, 97%)
CMYKcmyk(10.9%, 0%, 66.8%, 3.1%)
CIE-LABlab(92.73, -29.72, 72.85)
CIE-LCHlch(92.73, 78.69, 112.20°)
OKLaboklab(92.71% -0.088 0.1639)
OKLCHoklch(92.71% 0.186 118.2)
XYZxyz(64.3002, 82.3469, 20.4882)
Luminance0.8235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF752 #6D52F7
analogous
#F7BF52 #DCF752 #8AF752
triadic
#DCF752 #52DCF7 #F752DC
tetradic
#DCF752 #52F7BF #6D52F7 #F7528A
square
#DCF752 #52F7BF #6D52F7 #F7528A
split-complementary
#DCF752 #528AF7 #BF52F7
monochromatic
#A7C509 #D0F418 #DCF752 #E8FA8C #F4FCC7

Accessibility & contrast

On white

1.20
#DCF752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#DCF752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF752
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF752#FFFFFF#000000##000000
##DCF7521.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA39
Deuteranopia (green-blind)
#FFEB5F
Tritanopia (blue-blind)
#E9EAD6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #dcf752;
/* rgb */ color: rgb(220, 247, 82);
/* oklch */ color: oklch(92.7% 0.186 118.2);
Tailwind
colors: {
  custom: {
    50: '#eaf98b',
    500: '#dcf752',
    950: '#000000',
  },
}
SCSS
$custom: #dcf752;
$custom-light: #eaf98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf752",
  "rgb": {
    "r": 220,
    "g": 247,
    "b": 82
  },
  "hsl": {
    "h": 69.818,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92711,
    "c": 0.18603,
    "h": 118.2
  },
  "luminance": 0.82346
}

Semantic roles & 50–950 ramp

primary
#DCF752
secondary
#442BC2
accent
#00E626
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DCF752

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

Preview Lab → · Contrast checker → · Palette generator →

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