#DFF871#DFF871

#DFF871 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.4% C 0.162 H 118.4°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#DFF871
RGBrgb(223, 248, 113)
HSLhsl(71, 91%, 71%)
HSVhsv(71, 54%, 97%)
CMYKcmyk(10.1%, 0%, 54.4%, 2.7%)
CIE-LABlab(93.46, -26.85, 61.07)
CIE-LCHlch(93.46, 66.72, 113.74°)
OKLaboklab(93.43% -0.0772 0.1427)
OKLCHoklch(93.43% 0.162 118.4)
XYZxyz(66.9803, 84.0155, 28.3076)
Luminance0.8401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF871 #8A71F8
analogous
#F8CD71 #DFF871 #9BF871
triadic
#DFF871 #71DFF8 #F871DF
tetradic
#DFF871 #71F8CD #8A71F8 #F8719B
square
#DFF871 #71F8CD #8A71F8 #F8719B
split-complementary
#DFF871 #719BF8 #CD71F8
monochromatic
#BBE30B #D2F537 #DFF871 #ECFBAB #F8FEE2

Accessibility & contrast

On white

1.18
#DFF871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#DFF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF871
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF871#FFFFFF#000000##000000
##DFF8711.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#EAECDA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dff871;
/* rgb */ color: rgb(223, 248, 113);
/* oklch */ color: oklch(93.4% 0.162 118.4);
Tailwind
colors: {
  custom: {
    50: '#ebfa9e',
    500: '#dff871',
    950: '#000000',
  },
}
SCSS
$custom: #dff871;
$custom-light: #ebfa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dff871",
  "rgb": {
    "r": 223,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 71.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93431,
    "c": 0.16225,
    "h": 118.4
  },
  "luminance": 0.84015
}

Semantic roles & 50–950 ramp

primary
#DFF871
secondary
#573AD3
accent
#00E62A
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF871

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

Preview Lab → · Contrast checker → · Palette generator →

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