#DCFB98#DCFB98

#DCFB98 is a very light, vivid yellow-green. Relative luminance 0.865; OKLCH L 94.4% C 0.129 H 123.0°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#DCFB98
RGBrgb(220, 251, 152)
HSLhsl(79, 93%, 79%)
HSVhsv(79, 39%, 98%)
CMYKcmyk(12.4%, 0%, 39.4%, 1.6%)
CIE-LABlab(94.52, -25.52, 44.13)
CIE-LCHlch(94.52, 50.98, 120.04°)
OKLaboklab(94.38% -0.0702 0.1079)
OKLCHoklch(94.38% 0.129 123)
XYZxyz(69.6796, 86.4768, 42.7205)
Luminance0.8648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFB98 #B798FB
analogous
#FBE998 #DCFB98 #ABFB98
triadic
#DCFB98 #98DCFB #FB98DC
tetradic
#DCFB98 #98FBE9 #B798FB #FB98AB
square
#DCFB98 #98FBE9 #B798FB #FB98AB
split-complementary
#DCFB98 #98ABFB #E998FB
monochromatic
#B4F622 #C8F95D #DCFB98 #F0FDD3 #F5FEE2

Accessibility & contrast

On white

1.15
#DCFB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#DCFB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFB98
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFB98#FFFFFF#000000##000000
##DCFB981.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF091
Deuteranopia (green-blind)
#FFEF9D
Tritanopia (blue-blind)
#E3F2E3
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dcfb98;
/* rgb */ color: rgb(220, 251, 152);
/* oklch */ color: oklch(94.4% 0.129 123.0);
Tailwind
colors: {
  custom: {
    50: '#e8fcb7',
    500: '#dcfb98',
    950: '#000000',
  },
}
SCSS
$custom: #dcfb98;
$custom-light: #e8fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfb98",
  "rgb": {
    "r": 220,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 78.788,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94378,
    "c": 0.12876,
    "h": 123
  },
  "luminance": 0.86477
}

Semantic roles & 50–950 ramp

primary
#DCFB98
secondary
#845BDC
accent
#00E648
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCFB98

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

Preview Lab → · Contrast checker → · Palette generator →

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