#DCF270#DCF270

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

Color values

HEX#DCF270
RGBrgb(220, 242, 112)
HSLhsl(70, 83%, 69%)
HSVhsv(70, 54%, 95%)
CMYKcmyk(9.1%, 0%, 53.7%, 5.1%)
CIE-LABlab(91.64, -25.26, 59.36)
CIE-LCHlch(91.64, 64.52, 113.05°)
OKLaboklab(91.92% -0.0726 0.139)
OKLCHoklch(91.92% 0.157 117.6)
XYZxyz(64.1929, 79.8903, 27.3648)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF270 #8670F2
analogous
#F2C770 #DCF270 #9BF270
triadic
#DCF270 #70DCF2 #F270DC
tetradic
#DCF270 #70F2C7 #8670F2 #F2709B
square
#DCF270 #70F2C7 #8670F2 #F2709B
split-complementary
#DCF270 #709BF2 #C770F2
monochromatic
#B4D413 #CEED38 #DCF270 #EAF7A8 #F7FCE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCF270#FFFFFF#000000##000000
##DCF2701.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)
#FFE763
Deuteranopia (green-blind)
#FEE878
Tritanopia (blue-blind)
#E7E6D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dcf270;
/* rgb */ color: rgb(220, 242, 112);
/* oklch */ color: oklch(91.9% 0.157 117.6);
Tailwind
colors: {
  custom: {
    50: '#e9f69d',
    500: '#dcf270',
    950: '#000000',
  },
}
SCSS
$custom: #dcf270;
$custom-light: #e9f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf270",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 70.154,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91915,
    "c": 0.15681,
    "h": 117.6
  },
  "luminance": 0.7989
}

Semantic roles & 50–950 ramp

primary
#DCF270
secondary
#533BCB
accent
#06E02B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DCF270

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

Preview Lab → · Contrast checker → · Palette generator →

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