#DCE178#DCE178

#DCE178 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.4% C 0.129 H 111.2°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#DCE178
RGBrgb(220, 225, 120)
HSLhsl(63, 64%, 68%)
HSVhsv(63, 47%, 88%)
CMYKcmyk(2.2%, 0%, 46.7%, 11.8%)
CIE-LABlab(87.20, -16.33, 50.44)
CIE-LCHlch(87.20, 53.02, 107.94°)
OKLaboklab(88.4% -0.0466 0.1202)
OKLCHoklch(88.4% 0.129 111.2)
XYZxyz(59.8316, 70.4233, 28.2069)
Luminance0.7042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE178 #7D78E1
analogous
#E1B178 #DCE178 #A8E178
triadic
#DCE178 #78DCE1 #E178DC
tetradic
#DCE178 #78E1B1 #7D78E1 #E178A8
square
#DCE178 #78E1B1 #7D78E1 #E178A8
split-complementary
#DCE178 #78A8E1 #B178E1
monochromatic
#AFB628 #CFD646 #DCE178 #E9ECAA #F6F7DC

Accessibility & contrast

On white

1.39
#DCE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#DCE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE178
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE178#FFFFFF#000000##000000
##DCE1781.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96F
Deuteranopia (green-blind)
#F0DC7D
Tritanopia (blue-blind)
#E8D6C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce178;
/* rgb */ color: rgb(220, 225, 120);
/* oklch */ color: oklch(88.4% 0.129 111.2);
Tailwind
colors: {
  custom: {
    50: '#e9eaa1',
    500: '#dce178',
    950: '#000000',
  },
}
SCSS
$custom: #dce178;
$custom-light: #e9eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#dce178",
  "rgb": {
    "r": 220,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 62.857,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.884,
    "c": 0.12895,
    "h": 111.2
  },
  "luminance": 0.70422
}

Semantic roles & 50–950 ramp

primary
#DCE178
secondary
#4C46B7
accent
#1ACB23
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #DCE178

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

Preview Lab → · Contrast checker → · Palette generator →

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