#DCE278#DCE278

#DCE278 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.6% C 0.130 H 111.6°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#DCE278
RGBrgb(220, 226, 120)
HSLhsl(63, 65%, 68%)
HSVhsv(63, 47%, 89%)
CMYKcmyk(2.7%, 0%, 46.9%, 11.4%)
CIE-LABlab(87.47, -16.82, 50.76)
CIE-LCHlch(87.47, 53.48, 108.33°)
OKLaboklab(88.61% -0.048 0.1209)
OKLCHoklch(88.61% 0.13 111.6)
XYZxyz(60.1028, 70.9655, 28.2972)
Luminance0.7096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE278 #7E78E2
analogous
#E2B378 #DCE278 #A7E278
triadic
#DCE278 #78DCE2 #E278DC
tetradic
#DCE278 #78E2B3 #7E78E2 #E278A7
square
#DCE278 #78E2B3 #7E78E2 #E278A7
split-complementary
#DCE278 #78A7E2 #B378E2
monochromatic
#B0B828 #CFD746 #DCE278 #E9EDAA #F6F8DD

Accessibility & contrast

On white

1.38
#DCE278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#DCE278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE278
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE278#FFFFFF#000000##000000
##DCE2781.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#F0DD7D
Tritanopia (blue-blind)
#E8D7C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dce278;
/* rgb */ color: rgb(220, 226, 120);
/* oklch */ color: oklch(88.6% 0.130 111.6);
Tailwind
colors: {
  custom: {
    50: '#e9eba1',
    500: '#dce278',
    950: '#000000',
  },
}
SCSS
$custom: #dce278;
$custom-light: #e9eba1;
$custom-dark: #000000;
JSON
{
  "hex": "#dce278",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 120
  },
  "hsl": {
    "h": 63.396,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88611,
    "c": 0.13011,
    "h": 111.6
  },
  "luminance": 0.70964
}

Semantic roles & 50–950 ramp

primary
#DCE278
secondary
#4C46B9
accent
#19CC23
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #DCE278

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

Preview Lab → · Contrast checker → · Palette generator →

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