#DFF298#DFF298

#DFF298 is a very light, moderate yellow-green. Relative luminance 0.815; OKLCH L 92.7% C 0.116 H 118.4°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#DFF298
RGBrgb(223, 242, 152)
HSLhsl(73, 78%, 77%)
HSVhsv(73, 37%, 95%)
CMYKcmyk(7.9%, 0%, 37.2%, 5.1%)
CIE-LABlab(92.34, -20.10, 41.37)
CIE-LCHlch(92.34, 46.00, 115.91°)
OKLaboklab(92.69% -0.055 0.1016)
OKLCHoklch(92.69% 0.116 118.4)
XYZxyz(67.8511, 81.4596, 41.8485)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF298 #AB98F2
analogous
#F2D898 #DFF298 #B2F298
triadic
#DFF298 #98DFF2 #F298DF
tetradic
#DFF298 #98F2D8 #AB98F2 #F298B2
square
#DFF298 #98F2D8 #AB98F2 #F298B2
split-complementary
#DFF298 #98B2F2 #D898F2
monochromatic
#BDE42B #CEEB62 #DFF298 #F0F9CE #F7FCE4

Accessibility & contrast

On white

1.21
#DFF298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#DFF298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF298
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF298#FFFFFF#000000##000000
##DFF2981.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE991
Deuteranopia (green-blind)
#FBE99C
Tritanopia (blue-blind)
#E7E9DC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #dff298;
/* rgb */ color: rgb(223, 242, 152);
/* oklch */ color: oklch(92.7% 0.116 118.4);
Tailwind
colors: {
  custom: {
    50: '#eaf6b7',
    500: '#dff298',
    950: '#000000',
  },
}
SCSS
$custom: #dff298;
$custom-light: #eaf6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dff298",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 152
  },
  "hsl": {
    "h": 72.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92686,
    "c": 0.11554,
    "h": 118.4
  },
  "luminance": 0.81459
}

Semantic roles & 50–950 ramp

primary
#DFF298
secondary
#765FD0
accent
#0CDA37
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFF298

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

Preview Lab → · Contrast checker → · Palette generator →

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