#DCF398#DCF398

#DCF398 is a very light, moderate yellow-green. Relative luminance 0.816; OKLCH L 92.7% C 0.118 H 120.3°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#DCF398
RGBrgb(220, 243, 152)
HSLhsl(75, 79%, 77%)
HSVhsv(75, 37%, 95%)
CMYKcmyk(9.5%, 0%, 37.4%, 4.7%)
CIE-LABlab(92.39, -21.70, 41.40)
CIE-LCHlch(92.39, 46.74, 117.66°)
OKLaboklab(92.68% -0.0594 0.1017)
OKLCHoklch(92.68% 0.118 120.3)
XYZxyz(67.2332, 81.5840, 41.9050)
Luminance0.8158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF398 #AF98F3
analogous
#F3DD98 #DCF398 #AEF398
triadic
#DCF398 #98DCF3 #F398DC
tetradic
#DCF398 #98F3DD #AF98F3 #F398AE
square
#DCF398 #98F3DD #AF98F3 #F398AE
split-complementary
#DCF398 #98AEF3 #DD98F3
monochromatic
#B7E62A #C9ED61 #DCF398 #EFF9CF #F6FCE4

Accessibility & contrast

On white

1.21
#DCF398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#DCF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF398
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF398#FFFFFF#000000##000000
##DCF3981.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE991
Deuteranopia (green-blind)
#FBE99C
Tritanopia (blue-blind)
#E4EADC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #dcf398;
/* rgb */ color: rgb(220, 243, 152);
/* oklch */ color: oklch(92.7% 0.118 120.3);
Tailwind
colors: {
  custom: {
    50: '#e8f7b7',
    500: '#dcf398',
    950: '#000000',
  },
}
SCSS
$custom: #dcf398;
$custom-light: #e8f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf398",
  "rgb": {
    "r": 220,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 75.165,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92678,
    "c": 0.11778,
    "h": 120.3
  },
  "luminance": 0.81584
}

Semantic roles & 50–950 ramp

primary
#DCF398
secondary
#7B5ED1
accent
#0ADB3F
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF398

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

Preview Lab → · Contrast checker → · Palette generator →

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