#DCF157#DCF157

#DCF157 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.5% C 0.176 H 116.6°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#DCF157
RGBrgb(220, 241, 87)
HSLhsl(68, 85%, 64%)
HSVhsv(68, 64%, 95%)
CMYKcmyk(8.7%, 0%, 63.9%, 5.5%)
CIE-LABlab(91.15, -26.62, 69.33)
CIE-LCHlch(91.15, 74.26, 111.00°)
OKLaboklab(91.46% -0.0788 0.1572)
OKLCHoklch(91.46% 0.176 116.6)
XYZxyz(62.6921, 78.8151, 20.9252)
Luminance0.7881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF157 #6C57F1
analogous
#F1B957 #DCF157 #8FF157
triadic
#DCF157 #57DCF1 #F157DC
tetradic
#DCF157 #57F1B9 #6C57F1 #F1578F
square
#DCF157 #57F1B9 #6C57F1 #F1578F
split-complementary
#DCF157 #578FF1 #B957F1
monochromatic
#A6BE10 #D0EC1F #DCF157 #E8F68F #F4FAC8

Accessibility & contrast

On white

1.25
#DCF157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#DCF157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF157
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF157#FFFFFF#000000##000000
##DCF1571.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE542
Deuteranopia (green-blind)
#FFE762
Tritanopia (blue-blind)
#E9E4D1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf157;
/* rgb */ color: rgb(220, 241, 87);
/* oklch */ color: oklch(91.5% 0.176 116.6);
Tailwind
colors: {
  custom: {
    50: '#eaf58d',
    500: '#dcf157',
    950: '#000000',
  },
}
SCSS
$custom: #dcf157;
$custom-light: #eaf58d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf157",
  "rgb": {
    "r": 220,
    "g": 241,
    "b": 87
  },
  "hsl": {
    "h": 68.182,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.91456,
    "c": 0.17587,
    "h": 116.6
  },
  "luminance": 0.78814
}

Semantic roles & 50–950 ramp

primary
#DCF157
secondary
#4330BC
accent
#04E123
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DCF157

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

Preview Lab → · Contrast checker → · Palette generator →

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