#DCE78F#DCE78F

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

Color values

HEX#DCE78F
RGBrgb(220, 231, 143)
HSLhsl(68, 65%, 73%)
HSVhsv(68, 38%, 91%)
CMYKcmyk(4.8%, 0%, 38.1%, 9.4%)
CIE-LABlab(89.09, -16.90, 41.61)
CIE-LCHlch(89.09, 44.91, 112.11°)
OKLaboklab(90% -0.0464 0.1018)
OKLCHoklch(90% 0.112 114.5)
XYZxyz(63.0494, 74.3514, 37.0111)
Luminance0.7435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE78F #9A8FE7
analogous
#E7C68F #DCE78F #B0E78F
triadic
#DCE78F #8FDCE7 #E78FDC
tetradic
#DCE78F #8FE7C6 #9A8FE7 #E78FB0
square
#DCE78F #8FE7C6 #9A8FE7 #E78FB0
split-complementary
#DCE78F #8FB0E7 #C68FE7
monochromatic
#BBCF2C #CCDC5D #DCE78F #ECF2C1 #F7FAE6

Accessibility & contrast

On white

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

On black

15.87
#DCE78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE78F
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE78F#FFFFFF#000000##000000
##DCE78F1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF88
Deuteranopia (green-blind)
#F2E193
Tritanopia (blue-blind)
#E6DED1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce78f;
/* rgb */ color: rgb(220, 231, 143);
/* oklch */ color: oklch(90.0% 0.112 114.5);
Tailwind
colors: {
  custom: {
    50: '#e8eeb1',
    500: '#dce78f',
    950: '#000000',
  },
}
SCSS
$custom: #dce78f;
$custom-light: #e8eeb1;
$custom-dark: #000000;
JSON
{
  "hex": "#dce78f",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 143
  },
  "hsl": {
    "h": 67.5,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9,
    "c": 0.11185,
    "h": 114.5
  },
  "luminance": 0.74351
}

Semantic roles & 50–950 ramp

primary
#DCE78F
secondary
#665AC1
accent
#19CD2F
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161611
muted
#848581

Preview Lab

Preview with #DCE78F

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

Preview Lab → · Contrast checker → · Palette generator →

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