#DCE78E#DCE78E

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

Color values

HEX#DCE78E
RGBrgb(220, 231, 142)
HSLhsl(67, 65%, 73%)
HSVhsv(67, 39%, 91%)
CMYKcmyk(4.8%, 0%, 38.5%, 9.4%)
CIE-LABlab(89.07, -17.01, 42.08)
CIE-LCHlch(89.07, 45.39, 112.01°)
OKLaboklab(89.98% -0.0468 0.1028)
OKLCHoklch(89.98% 0.113 114.5)
XYZxyz(62.9740, 74.3212, 36.6139)
Luminance0.7432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE78E #998EE7
analogous
#E7C58E #DCE78E #AFE78E
triadic
#DCE78E #8EDCE7 #E78EDC
tetradic
#DCE78E #8EE7C5 #998EE7 #E78EAF
square
#DCE78E #8EE7C5 #998EE7 #E78EAF
split-complementary
#DCE78E #8EAFE7 #C58EE7
monochromatic
#BBCF2C #CCDC5C #DCE78E #ECF2C0 #F7FAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCE78E#FFFFFF#000000##000000
##DCE78E1.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)
#F3DF87
Deuteranopia (green-blind)
#F2E192
Tritanopia (blue-blind)
#E6DED1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce78e;
/* rgb */ color: rgb(220, 231, 142);
/* oklch */ color: oklch(90.0% 0.113 114.5);
Tailwind
colors: {
  custom: {
    50: '#e8eeb0',
    500: '#dce78e',
    950: '#000000',
  },
}
SCSS
$custom: #dce78e;
$custom-light: #e8eeb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dce78e",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 142
  },
  "hsl": {
    "h": 67.416,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.89984,
    "c": 0.11295,
    "h": 114.5
  },
  "luminance": 0.7432
}

Semantic roles & 50–950 ramp

primary
#DCE78E
secondary
#6559C1
accent
#19CD2F
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #DCE78E

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

Preview Lab → · Contrast checker → · Palette generator →

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