#DCF098#DCF098

#DCF098 is a very light, moderate yellow-green. Relative luminance 0.798; OKLCH L 92.0% C 0.114 H 119.1°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#DCF098
RGBrgb(220, 240, 152)
HSLhsl(74, 75%, 77%)
HSVhsv(74, 37%, 94%)
CMYKcmyk(8.3%, 0%, 36.7%, 5.9%)
CIE-LABlab(91.60, -20.25, 40.38)
CIE-LCHlch(91.60, 45.17, 116.63°)
OKLaboklab(92.04% -0.0553 0.0993)
OKLCHoklch(92.04% 0.114 119.1)
XYZxyz(66.3428, 79.8031, 41.6082)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF098 #AC98F0
analogous
#F0D898 #DCF098 #B0F098
triadic
#DCF098 #98DCF0 #F098DC
tetradic
#DCF098 #98F0D8 #AC98F0 #F098B0
square
#DCF098 #98F0D8 #AC98F0 #F098B0
split-complementary
#DCF098 #98B0F0 #D898F0
monochromatic
#B8E02D #CAE863 #DCF098 #EEF8CD #F6FBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCF098#FFFFFF#000000##000000
##DCF0981.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)
#FBE792
Deuteranopia (green-blind)
#F8E79C
Tritanopia (blue-blind)
#E4E7DA
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dcf098;
/* rgb */ color: rgb(220, 240, 152);
/* oklch */ color: oklch(92.0% 0.114 119.1);
Tailwind
colors: {
  custom: {
    50: '#e8f5b7',
    500: '#dcf098',
    950: '#000000',
  },
}
SCSS
$custom: #dcf098;
$custom-light: #e8f5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf098",
  "rgb": {
    "r": 220,
    "g": 240,
    "b": 152
  },
  "hsl": {
    "h": 73.636,
    "s": 74.576,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92043,
    "c": 0.1137,
    "h": 119.1
  },
  "luminance": 0.79803
}

Semantic roles & 50–950 ramp

primary
#DCF098
secondary
#785FCD
accent
#0FD73C
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF098

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

Preview Lab → · Contrast checker → · Palette generator →

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