#DFF172#DFF172

#DFF172 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 91.9% C 0.153 H 116.2°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#DFF172
RGBrgb(223, 241, 114)
HSLhsl(69, 82%, 70%)
HSVhsv(69, 53%, 95%)
CMYKcmyk(7.5%, 0%, 52.7%, 5.5%)
CIE-LABlab(91.60, -23.45, 58.49)
CIE-LCHlch(91.60, 63.01, 111.85°)
OKLaboklab(91.95% -0.0675 0.1372)
OKLCHoklch(91.95% 0.153 116.2)
XYZxyz(64.9250, 79.8142, 27.9018)
Luminance0.7981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF172 #8472F1
analogous
#F1C472 #DFF172 #A0F172
triadic
#DFF172 #72DFF1 #F172DF
tetradic
#DFF172 #72F1C4 #8472F1 #F172A0
square
#DFF172 #72F1C4 #8472F1 #F172A0
split-complementary
#DFF172 #72A0F1 #C472F1
monochromatic
#B9D415 #D2EB3A #DFF172 #ECF7AA #F8FCE1

Accessibility & contrast

On white

1.24
#DFF172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#DFF172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF172
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF172#FFFFFF#000000##000000
##DFF1721.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#EBE5D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dff172;
/* rgb */ color: rgb(223, 241, 114);
/* oklch */ color: oklch(91.9% 0.153 116.2);
Tailwind
colors: {
  custom: {
    50: '#ebf59e',
    500: '#dff172',
    950: '#000000',
  },
}
SCSS
$custom: #dff172;
$custom-light: #ebf59e;
$custom-dark: #000000;
JSON
{
  "hex": "#dff172",
  "rgb": {
    "r": 223,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 68.504,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91947,
    "c": 0.15294,
    "h": 116.2
  },
  "luminance": 0.79813
}

Semantic roles & 50–950 ramp

primary
#DFF172
secondary
#513DCA
accent
#07DE26
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF172

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

Preview Lab → · Contrast checker → · Palette generator →

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