#DCEF78#DCEF78

#DCEF78 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.4% C 0.146 H 116.9°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#DCEF78
RGBrgb(220, 239, 120)
HSLhsl(70, 79%, 70%)
HSVhsv(70, 50%, 94%)
CMYKcmyk(7.9%, 0%, 49.8%, 6.3%)
CIE-LABlab(90.92, -23.13, 54.90)
CIE-LCHlch(90.92, 59.57, 112.85°)
OKLaboklab(91.37% -0.0659 0.13)
OKLCHoklch(91.37% 0.146 116.9)
XYZxyz(63.7727, 78.3053, 29.5205)
Luminance0.7831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEF78 #8B78EF
analogous
#EFC778 #DCEF78 #A0EF78
triadic
#DCEF78 #78DCEF #EF78DC
tetradic
#DCEF78 #78EFC7 #8B78EF #EF78A0
square
#DCEF78 #78EFC7 #8B78EF #EF78A0
split-complementary
#DCEF78 #78A0EF #C778EF
monochromatic
#B6D419 #CEE941 #DCEF78 #EAF5AF #F8FCE4

Accessibility & contrast

On white

1.26
#DCEF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#DCEF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEF78
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEF78#FFFFFF#000000##000000
##DCEF781.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46D
Deuteranopia (green-blind)
#FBE67F
Tritanopia (blue-blind)
#E7E4D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dcef78;
/* rgb */ color: rgb(220, 239, 120);
/* oklch */ color: oklch(91.4% 0.146 116.9);
Tailwind
colors: {
  custom: {
    50: '#e9f4a2',
    500: '#dcef78',
    950: '#000000',
  },
}
SCSS
$custom: #dcef78;
$custom-light: #e9f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcef78",
  "rgb": {
    "r": 220,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 69.58,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91368,
    "c": 0.14575,
    "h": 116.9
  },
  "luminance": 0.78305
}

Semantic roles & 50–950 ramp

primary
#DCEF78
secondary
#5843C9
accent
#0ADB2C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCEF78

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

Preview Lab → · Contrast checker → · Palette generator →

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