#DFF371#DFF371

#DFF371 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.4% C 0.156 H 116.8°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#DFF371
RGBrgb(223, 243, 113)
HSLhsl(69, 84%, 70%)
HSVhsv(69, 53%, 95%)
CMYKcmyk(8.2%, 0%, 53.5%, 4.7%)
CIE-LABlab(92.12, -24.49, 59.54)
CIE-LCHlch(92.12, 64.38, 112.36°)
OKLaboklab(92.36% -0.0705 0.1394)
OKLCHoklch(92.36% 0.156 116.8)
XYZxyz(65.4636, 80.9821, 27.8021)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF371 #8571F3
analogous
#F3C671 #DFF371 #9EF371
triadic
#DFF371 #71DFF3 #F371DF
tetradic
#DFF371 #71F3C6 #8571F3 #F3719E
square
#DFF371 #71F3C6 #8571F3 #F3719E
split-complementary
#DFF371 #719EF3 #C671F3
monochromatic
#B9D712 #D2EE39 #DFF371 #ECF8A9 #F8FDE2

Accessibility & contrast

On white

1.22
#DFF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#DFF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF371
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF371#FFFFFF#000000##000000
##DFF3711.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#EBE7D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dff371;
/* rgb */ color: rgb(223, 243, 113);
/* oklch */ color: oklch(92.4% 0.156 116.8);
Tailwind
colors: {
  custom: {
    50: '#ebf79d',
    500: '#dff371',
    950: '#000000',
  },
}
SCSS
$custom: #dff371;
$custom-light: #ebf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#dff371",
  "rgb": {
    "r": 223,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 69.231,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92362,
    "c": 0.15624,
    "h": 116.8
  },
  "luminance": 0.80981
}

Semantic roles & 50–950 ramp

primary
#DFF371
secondary
#523BCD
accent
#05E127
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF371

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

Preview Lab → · Contrast checker → · Palette generator →

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