#DFF257#DFF257

#DFF257 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 91.9% C 0.176 H 115.9°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#DFF257
RGBrgb(223, 242, 87)
HSLhsl(67, 86%, 65%)
HSVhsv(67, 64%, 95%)
CMYKcmyk(7.9%, 0%, 64%, 5.1%)
CIE-LABlab(91.63, -25.90, 69.90)
CIE-LCHlch(91.63, 74.54, 110.33°)
OKLaboklab(91.9% -0.077 0.1583)
OKLCHoklch(91.9% 0.176 115.9)
XYZxyz(63.9053, 79.8813, 21.0671)
Luminance0.7988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF257 #6A57F2
analogous
#F2B857 #DFF257 #92F257
triadic
#DFF257 #57DFF2 #F257DF
tetradic
#DFF257 #57F2B8 #6A57F2 #F25792
square
#DFF257 #57F2B8 #6A57F2 #F25792
split-complementary
#DFF257 #5792F2 #B857F2
monochromatic
#AAC00F #D4EE1E #DFF257 #EAF690 #F5FBC9

Accessibility & contrast

On white

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

On black

16.98
#DFF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF257
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF257#FFFFFF#000000##000000
##DFF2571.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE642
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#ECE5D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dff257;
/* rgb */ color: rgb(223, 242, 87);
/* oklch */ color: oklch(91.9% 0.176 115.9);
Tailwind
colors: {
  custom: {
    50: '#ecf68e',
    500: '#dff257',
    950: '#000000',
  },
}
SCSS
$custom: #dff257;
$custom-light: #ecf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dff257",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 67.355,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91895,
    "c": 0.17607,
    "h": 115.9
  },
  "luminance": 0.7988
}

Semantic roles & 50–950 ramp

primary
#DFF257
secondary
#4130BE
accent
#03E21F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DFF257

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

Preview Lab → · Contrast checker → · Palette generator →

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