#DCF268#DCF268

#DCF268 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 91.8% C 0.164 H 117.3°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#DCF268
RGBrgb(220, 242, 104)
HSLhsl(70, 84%, 68%)
HSVhsv(70, 57%, 95%)
CMYKcmyk(9.1%, 0%, 57%, 5.1%)
CIE-LABlab(91.56, -25.90, 62.78)
CIE-LCHlch(91.56, 67.91, 112.42°)
OKLaboklab(91.83% -0.0752 0.1455)
OKLCHoklch(91.83% 0.164 117.3)
XYZxyz(63.7671, 79.7200, 25.1223)
Luminance0.7972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF268 #7E68F2
analogous
#F2C368 #DCF268 #97F268
triadic
#DCF268 #68DCF2 #F268DC
tetradic
#DCF268 #68F2C3 #7E68F2 #F26897
square
#DCF268 #68F2C3 #7E68F2 #F26897
split-complementary
#DCF268 #6897F2 #C368F2
monochromatic
#B0CE12 #CFED30 #DCF268 #E9F7A0 #F6FCD9

Accessibility & contrast

On white

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

On black

16.94
#DCF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF268
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF268#FFFFFF#000000##000000
##DCF2681.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE659
Deuteranopia (green-blind)
#FEE871
Tritanopia (blue-blind)
#E8E6D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dcf268;
/* rgb */ color: rgb(220, 242, 104);
/* oklch */ color: oklch(91.8% 0.164 117.3);
Tailwind
colors: {
  custom: {
    50: '#e9f698',
    500: '#dcf268',
    950: '#000000',
  },
}
SCSS
$custom: #dcf268;
$custom-light: #e9f698;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf268",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 69.565,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91829,
    "c": 0.16376,
    "h": 117.3
  },
  "luminance": 0.79719
}

Semantic roles & 50–950 ramp

primary
#DCF268
secondary
#4C34CA
accent
#05E128
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DCF268

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

Preview Lab → · Contrast checker → · Palette generator →

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