#DFF271#DFF271

#DFF271 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.1% C 0.155 H 116.5°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#DFF271
RGBrgb(223, 242, 113)
HSLhsl(69, 83%, 70%)
HSVhsv(69, 53%, 95%)
CMYKcmyk(7.9%, 0%, 53.3%, 5.1%)
CIE-LABlab(91.86, -24.01, 59.23)
CIE-LCHlch(91.86, 63.91, 112.07°)
OKLaboklab(92.15% -0.0692 0.1387)
OKLCHoklch(92.15% 0.155 116.5)
XYZxyz(65.1652, 80.3852, 27.7026)
Luminance0.8038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF271 #8471F2
analogous
#F2C471 #DFF271 #9FF271
triadic
#DFF271 #71DFF2 #F271DF
tetradic
#DFF271 #71F2C4 #8471F2 #F2719F
square
#DFF271 #71F2C4 #8471F2 #F2719F
split-complementary
#DFF271 #719FF2 #C471F2
monochromatic
#B9D514 #D2ED39 #DFF271 #ECF7A9 #F8FCE1

Accessibility & contrast

On white

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

On black

17.08
#DFF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF271
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF271#FFFFFF#000000##000000
##DFF2711.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FFE978
Tritanopia (blue-blind)
#EBE6D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dff271;
/* rgb */ color: rgb(223, 242, 113);
/* oklch */ color: oklch(92.1% 0.155 116.5);
Tailwind
colors: {
  custom: {
    50: '#ebf69d',
    500: '#dff271',
    950: '#000000',
  },
}
SCSS
$custom: #dff271;
$custom-light: #ebf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#dff271",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 68.837,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92149,
    "c": 0.15504,
    "h": 116.5
  },
  "luminance": 0.80384
}

Semantic roles & 50–950 ramp

primary
#DFF271
secondary
#513CCB
accent
#06E026
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF271

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

Preview Lab → · Contrast checker → · Palette generator →

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