#DCF170#DCF170

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

Color values

HEX#DCF170
RGBrgb(220, 241, 112)
HSLhsl(70, 82%, 69%)
HSVhsv(70, 54%, 95%)
CMYKcmyk(8.7%, 0%, 53.5%, 5.5%)
CIE-LABlab(91.37, -24.79, 59.06)
CIE-LCHlch(91.37, 64.05, 112.77°)
OKLaboklab(91.7% -0.0713 0.1383)
OKLCHoklch(91.7% 0.156 117.3)
XYZxyz(63.8960, 79.2967, 27.2658)
Luminance0.7930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF170 #8570F1
analogous
#F1C570 #DCF170 #9CF170
triadic
#DCF170 #70DCF1 #F170DC
tetradic
#DCF170 #70F1C5 #8570F1 #F1709C
square
#DCF170 #70F1C5 #8570F1 #F1709C
split-complementary
#DCF170 #709CF1 #C570F1
monochromatic
#B3D215 #CEEC38 #DCF170 #EAF6A8 #F7FCDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCF170#FFFFFF#000000##000000
##DCF1701.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)
#FFE663
Deuteranopia (green-blind)
#FDE778
Tritanopia (blue-blind)
#E7E5D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf170;
/* rgb */ color: rgb(220, 241, 112);
/* oklch */ color: oklch(91.7% 0.156 117.3);
Tailwind
colors: {
  custom: {
    50: '#e9f59d',
    500: '#dcf170',
    950: '#000000',
  },
}
SCSS
$custom: #dcf170;
$custom-light: #e9f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf170",
  "rgb": {
    "r": 220,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 69.767,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.917,
    "c": 0.15562,
    "h": 117.3
  },
  "luminance": 0.79296
}

Semantic roles & 50–950 ramp

primary
#DCF170
secondary
#523BCA
accent
#07DF2A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DCF170

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

Preview Lab → · Contrast checker → · Palette generator →

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