#DCE78D#DCE78D

#DCE78D is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.0% C 0.114 H 114.4°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#DCE78D
RGBrgb(220, 231, 141)
HSLhsl(67, 65%, 73%)
HSVhsv(67, 39%, 91%)
CMYKcmyk(4.8%, 0%, 39%, 9.4%)
CIE-LABlab(89.06, -17.13, 42.56)
CIE-LCHlch(89.06, 45.88, 111.92°)
OKLaboklab(89.97% -0.0471 0.1039)
OKLCHoklch(89.97% 0.114 114.4)
XYZxyz(62.8993, 74.2913, 36.2203)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE78D #988DE7
analogous
#E7C58D #DCE78D #AFE78D
triadic
#DCE78D #8DDCE7 #E78DDC
tetradic
#DCE78D #8DE7C5 #988DE7 #E78DAF
square
#DCE78D #8DE7C5 #988DE7 #E78DAF
split-complementary
#DCE78D #8DAFE7 #C58DE7
monochromatic
#BACE2B #CCDC5A #DCE78D #ECF2C0 #F7FAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCE78D#FFFFFF#000000##000000
##DCE78D1.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)
#F3DF86
Deuteranopia (green-blind)
#F2E191
Tritanopia (blue-blind)
#E6DED1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce78d;
/* rgb */ color: rgb(220, 231, 141);
/* oklch */ color: oklch(90.0% 0.114 114.4);
Tailwind
colors: {
  custom: {
    50: '#e8eeaf',
    500: '#dce78d',
    950: '#000000',
  },
}
SCSS
$custom: #dce78d;
$custom-light: #e8eeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dce78d",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 141
  },
  "hsl": {
    "h": 67.333,
    "s": 65.217,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89968,
    "c": 0.11406,
    "h": 114.4
  },
  "luminance": 0.74291
}

Semantic roles & 50–950 ramp

primary
#DCE78D
secondary
#6458C1
accent
#18CD2F
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #DCE78D

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

Preview Lab → · Contrast checker → · Palette generator →

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