#DFF381#DFF381

#DFF381 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.6% C 0.141 H 117.4°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#DFF381
RGBrgb(223, 243, 129)
HSLhsl(71, 83%, 73%)
HSVhsv(71, 47%, 95%)
CMYKcmyk(8.2%, 0%, 46.9%, 4.7%)
CIE-LABlab(92.30, -23.05, 52.42)
CIE-LCHlch(92.30, 57.26, 113.73°)
OKLaboklab(92.56% -0.065 0.1252)
OKLCHoklch(92.56% 0.141 117.4)
XYZxyz(66.4451, 81.3747, 32.9711)
Luminance0.8137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF381 #9581F3
analogous
#F3CE81 #DFF381 #A6F381
triadic
#DFF381 #81DFF3 #F381DF
tetradic
#DFF381 #81F3CE #9581F3 #F381A6
square
#DFF381 #81F3CE #9581F3 #F381A6
split-complementary
#DFF381 #81A6F3 #CE81F3
monochromatic
#C0E416 #D1EE49 #DFF381 #EDF8B9 #F8FCE3

Accessibility & contrast

On white

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

On black

17.27
#DFF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF381
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF381#FFFFFF#000000##000000
##DFF3811.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FEEA87
Tritanopia (blue-blind)
#E9E8D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #dff381;
/* rgb */ color: rgb(223, 243, 129);
/* oklch */ color: oklch(92.6% 0.141 117.4);
Tailwind
colors: {
  custom: {
    50: '#ebf7a8',
    500: '#dff381',
    950: '#000000',
  },
}
SCSS
$custom: #dff381;
$custom-light: #ebf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dff381",
  "rgb": {
    "r": 223,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 70.526,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92558,
    "c": 0.14109,
    "h": 117.4
  },
  "luminance": 0.81374
}

Semantic roles & 50–950 ramp

primary
#DFF381
secondary
#614ACF
accent
#06DF2C
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DFF381

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

Preview Lab → · Contrast checker → · Palette generator →

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