#DCF171#DCF171

#DCF171 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.7% C 0.155 H 117.3°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#DCF171
RGBrgb(220, 241, 113)
HSLhsl(70, 82%, 69%)
HSVhsv(70, 53%, 95%)
CMYKcmyk(8.7%, 0%, 53.1%, 5.5%)
CIE-LABlab(91.38, -24.70, 58.62)
CIE-LCHlch(91.38, 63.61, 112.85°)
OKLaboklab(91.71% -0.071 0.1375)
OKLCHoklch(91.71% 0.155 117.3)
XYZxyz(63.9520, 79.3191, 27.5607)
Luminance0.7932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF171 #8671F1
analogous
#F1C671 #DCF171 #9CF171
triadic
#DCF171 #71DCF1 #F171DC
tetradic
#DCF171 #71F1C6 #8671F1 #F1719C
square
#DCF171 #71F1C6 #8671F1 #F1719C
split-complementary
#DCF171 #719CF1 #C671F1
monochromatic
#B4D315 #CEEC39 #DCF171 #EAF6A9 #F7FCE0

Accessibility & contrast

On white

1.25
#DCF171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#DCF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF171
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF171#FFFFFF#000000##000000
##DCF1711.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FDE778
Tritanopia (blue-blind)
#E7E5D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf171;
/* rgb */ color: rgb(220, 241, 113);
/* oklch */ color: oklch(91.7% 0.155 117.3);
Tailwind
colors: {
  custom: {
    50: '#e9f59d',
    500: '#dcf171',
    950: '#000000',
  },
}
SCSS
$custom: #dcf171;
$custom-light: #e9f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf171",
  "rgb": {
    "r": 220,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 69.844,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91712,
    "c": 0.15471,
    "h": 117.3
  },
  "luminance": 0.79318
}

Semantic roles & 50–950 ramp

primary
#DCF171
secondary
#533CCA
accent
#07DE2A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF171

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

Preview Lab → · Contrast checker → · Palette generator →

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