#DCE478#DCE478

#DCE478 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.0% C 0.132 H 112.5°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#DCE478
RGBrgb(220, 228, 120)
HSLhsl(64, 67%, 68%)
HSVhsv(64, 47%, 89%)
CMYKcmyk(3.5%, 0%, 47.4%, 10.6%)
CIE-LABlab(88.00, -17.80, 51.40)
CIE-LCHlch(88.00, 54.40, 109.10°)
OKLaboklab(89.03% -0.0508 0.1224)
OKLCHoklch(89.03% 0.132 112.5)
XYZxyz(60.6498, 72.0596, 28.4796)
Luminance0.7206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE478 #8078E4
analogous
#E4B678 #DCE478 #A6E478
triadic
#DCE478 #78DCE4 #E478DC
tetradic
#DCE478 #78E4B6 #8078E4 #E478A6
square
#DCE478 #78E4B6 #8078E4 #E478A6
split-complementary
#DCE478 #78A6E4 #B678E4
monochromatic
#B1BC26 #CFDA45 #DCE478 #E9EEAB #F6F8DE

Accessibility & contrast

On white

1.36
#DCE478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#DCE478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE478
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE478#FFFFFF#000000##000000
##DCE4781.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6F
Deuteranopia (green-blind)
#F2DE7D
Tritanopia (blue-blind)
#E8D9CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #dce478;
/* rgb */ color: rgb(220, 228, 120);
/* oklch */ color: oklch(89.0% 0.132 112.5);
Tailwind
colors: {
  custom: {
    50: '#e9eca1',
    500: '#dce478',
    950: '#000000',
  },
}
SCSS
$custom: #dce478;
$custom-light: #e9eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#dce478",
  "rgb": {
    "r": 220,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 64.444,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89033,
    "c": 0.13247,
    "h": 112.5
  },
  "luminance": 0.72059
}

Semantic roles & 50–950 ramp

primary
#DCE478
secondary
#4E45BB
accent
#17CF25
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #DCE478

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

Preview Lab → · Contrast checker → · Palette generator →

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