#DCF257#DCF257

#DCF257 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 91.7% C 0.177 H 116.9°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#DCF257
RGBrgb(220, 242, 87)
HSLhsl(69, 86%, 65%)
HSVhsv(69, 64%, 95%)
CMYKcmyk(9.1%, 0%, 64%, 5.1%)
CIE-LABlab(91.42, -27.09, 69.61)
CIE-LCHlch(91.42, 74.69, 111.26°)
OKLaboklab(91.67% -0.0801 0.1578)
OKLCHoklch(91.67% 0.177 116.9)
XYZxyz(62.9889, 79.4088, 21.0242)
Luminance0.7941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF257 #6D57F2
analogous
#F2BA57 #DCF257 #8FF257
triadic
#DCF257 #57DCF2 #F257DC
tetradic
#DCF257 #57F2BA #6D57F2 #F2578F
square
#DCF257 #57F2BA #6D57F2 #F2578F
split-complementary
#DCF257 #578FF2 #BA57F2
monochromatic
#A7C00F #D0EE1E #DCF257 #E8F690 #F4FBC9

Accessibility & contrast

On white

1.24
#DCF257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.88
#DCF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF257
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF257#FFFFFF#000000##000000
##DCF2571.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE642
Deuteranopia (green-blind)
#FFE762
Tritanopia (blue-blind)
#E9E5D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf257;
/* rgb */ color: rgb(220, 242, 87);
/* oklch */ color: oklch(91.7% 0.177 116.9);
Tailwind
colors: {
  custom: {
    50: '#eaf68e',
    500: '#dcf257',
    950: '#000000',
  },
}
SCSS
$custom: #dcf257;
$custom-light: #eaf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf257",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 68.516,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91671,
    "c": 0.17699,
    "h": 116.9
  },
  "luminance": 0.79408
}

Semantic roles & 50–950 ramp

primary
#DCF257
secondary
#4430BE
accent
#03E223
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DCF257

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

Preview Lab → · Contrast checker → · Palette generator →

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