#DCE878#DCE878

#DCE878 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 89.9% C 0.137 H 114.2°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#DCE878
RGBrgb(220, 232, 120)
HSLhsl(66, 71%, 69%)
HSVhsv(66, 48%, 91%)
CMYKcmyk(5.2%, 0%, 48.3%, 9%)
CIE-LABlab(89.06, -19.76, 52.68)
CIE-LCHlch(89.06, 56.26, 110.56°)
OKLaboklab(89.88% -0.0563 0.1252)
OKLCHoklch(89.88% 0.137 114.2)
XYZxyz(61.7629, 74.2858, 28.8506)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE878 #8478E8
analogous
#E8BC78 #DCE878 #A4E878
triadic
#DCE878 #78DCE8 #E878DC
tetradic
#DCE878 #78E8BC #8478E8 #E878A4
square
#DCE878 #78E8BC #8478E8 #E878A4
split-complementary
#DCE878 #78A4E8 #BC78E8
monochromatic
#B3C421 #CEDF44 #DCE878 #EAF1AC #F7FAE1

Accessibility & contrast

On white

1.32
#DCE878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#DCE878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE878
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE878#FFFFFF#000000##000000
##DCE8781.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6E
Deuteranopia (green-blind)
#F5E17E
Tritanopia (blue-blind)
#E8DDCE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce878;
/* rgb */ color: rgb(220, 232, 120);
/* oklch */ color: oklch(89.9% 0.137 114.2);
Tailwind
colors: {
  custom: {
    50: '#e9efa1',
    500: '#dce878',
    950: '#000000',
  },
}
SCSS
$custom: #dce878;
$custom-light: #e9efa1;
$custom-dark: #000000;
JSON
{
  "hex": "#dce878",
  "rgb": {
    "r": 220,
    "g": 232,
    "b": 120
  },
  "hsl": {
    "h": 66.429,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89879,
    "c": 0.13724,
    "h": 114.2
  },
  "luminance": 0.74285
}

Semantic roles & 50–950 ramp

primary
#DCE878
secondary
#5144C0
accent
#13D327
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160F
muted
#858580

Preview Lab

Preview with #DCE878

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

Preview Lab → · Contrast checker → · Palette generator →

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