#DCF397#DCF397

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

Color values

HEX#DCF397
RGBrgb(220, 243, 151)
HSLhsl(75, 79%, 77%)
HSVhsv(75, 38%, 95%)
CMYKcmyk(9.5%, 0%, 37.9%, 4.7%)
CIE-LABlab(92.38, -21.82, 41.88)
CIE-LCHlch(92.38, 47.22, 117.52°)
OKLaboklab(92.66% -0.0598 0.1027)
OKLCHoklch(92.66% 0.119 120.2)
XYZxyz(67.1517, 81.5514, 41.4755)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF397 #AE97F3
analogous
#F3DC97 #DCF397 #AEF397
triadic
#DCF397 #97DCF3 #F397DC
tetradic
#DCF397 #97F3DC #AE97F3 #F397AE
square
#DCF397 #97F3DC #AE97F3 #F397AE
split-complementary
#DCF397 #97AEF3 #DC97F3
monochromatic
#B7E629 #CAED60 #DCF397 #EEF9CE #F6FCE4

Accessibility & contrast

On white

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

On black

17.31
#DCF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF397
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF397#FFFFFF#000000##000000
##DCF3971.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcf397;
/* rgb */ color: rgb(220, 243, 151);
/* oklch */ color: oklch(92.7% 0.119 120.2);
Tailwind
colors: {
  custom: {
    50: '#e8f7b6',
    500: '#dcf397',
    950: '#000000',
  },
}
SCSS
$custom: #dcf397;
$custom-light: #e8f7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf397",
  "rgb": {
    "r": 220,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 75,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92662,
    "c": 0.11888,
    "h": 120.2
  },
  "luminance": 0.81551
}

Semantic roles & 50–950 ramp

primary
#DCF397
secondary
#7A5DD1
accent
#0ADC3E
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF397

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

Preview Lab → · Contrast checker → · Palette generator →

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