#DFF278#DFF278

#DFF278 is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.2% C 0.149 H 116.7°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#DFF278
RGBrgb(223, 242, 120)
HSLhsl(69, 82%, 71%)
HSVhsv(69, 50%, 95%)
CMYKcmyk(7.9%, 0%, 50.4%, 5.1%)
CIE-LABlab(91.93, -23.41, 56.15)
CIE-LCHlch(91.93, 60.83, 112.63°)
OKLaboklab(92.23% -0.0668 0.1327)
OKLCHoklch(92.23% 0.149 116.7)
XYZxyz(65.5746, 80.5490, 29.8587)
Luminance0.8055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF278 #8B78F2
analogous
#F2C878 #DFF278 #A2F278
triadic
#DFF278 #78DFF2 #F278DF
tetradic
#DFF278 #78F2C8 #8B78F2 #F278A2
square
#DFF278 #78F2C8 #8B78F2 #F278A2
split-complementary
#DFF278 #78A2F2 #C878F2
monochromatic
#BCDB15 #D2ED40 #DFF278 #ECF7B0 #F8FCE3

Accessibility & contrast

On white

1.23
#DFF278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#DFF278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF278
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF278#FFFFFF#000000##000000
##DFF2781.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#EAE7D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dff278;
/* rgb */ color: rgb(223, 242, 120);
/* oklch */ color: oklch(92.2% 0.149 116.7);
Tailwind
colors: {
  custom: {
    50: '#ebf6a2',
    500: '#dff278',
    950: '#000000',
  },
}
SCSS
$custom: #dff278;
$custom-light: #ebf6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dff278",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 69.344,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92231,
    "c": 0.14859,
    "h": 116.7
  },
  "luminance": 0.80548
}

Semantic roles & 50–950 ramp

primary
#DFF278
secondary
#5742CC
accent
#07DF28
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF278

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

Preview Lab → · Contrast checker → · Palette generator →

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