#DCF271#DCF271

#DCF271 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.9% C 0.156 H 117.6°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#DCF271
RGBrgb(220, 242, 113)
HSLhsl(70, 83%, 70%)
HSVhsv(70, 53%, 95%)
CMYKcmyk(9.1%, 0%, 53.3%, 5.1%)
CIE-LABlab(91.65, -25.18, 58.93)
CIE-LCHlch(91.65, 64.08, 113.13°)
OKLaboklab(91.93% -0.0723 0.1381)
OKLCHoklch(91.93% 0.156 117.6)
XYZxyz(64.2488, 79.9127, 27.6596)
Luminance0.7991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF271 #8771F2
analogous
#F2C871 #DCF271 #9BF271
triadic
#DCF271 #71DCF2 #F271DC
tetradic
#DCF271 #71F2C8 #8771F2 #F2719B
square
#DCF271 #71F2C8 #8771F2 #F2719B
split-complementary
#DCF271 #719BF2 #C871F2
monochromatic
#B4D514 #CEED39 #DCF271 #EAF7A9 #F8FCE1

Accessibility & contrast

On white

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

On black

16.98
#DCF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF271
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF271#FFFFFF#000000##000000
##DCF2711.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcf271;
/* rgb */ color: rgb(220, 242, 113);
/* oklch */ color: oklch(91.9% 0.156 117.6);
Tailwind
colors: {
  custom: {
    50: '#e9f69d',
    500: '#dcf271',
    950: '#000000',
  },
}
SCSS
$custom: #dcf271;
$custom-light: #e9f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf271",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 70.233,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91926,
    "c": 0.15592,
    "h": 117.6
  },
  "luminance": 0.79912
}

Semantic roles & 50–950 ramp

primary
#DCF271
secondary
#543CCB
accent
#06E02B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF271

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

Preview Lab → · Contrast checker → · Palette generator →

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