#DCEC54#DCEC54

#DCEC54 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.4% C 0.172 H 115.0°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#DCEC54
RGBrgb(220, 236, 84)
HSLhsl(66, 80%, 63%)
HSVhsv(66, 64%, 93%)
CMYKcmyk(6.8%, 0%, 64.4%, 7.5%)
CIE-LABlab(89.79, -24.43, 69.07)
CIE-LCHlch(89.79, 73.27, 109.48°)
OKLaboklab(90.36% -0.073 0.1563)
OKLCHoklch(90.36% 0.172 115)
XYZxyz(61.1124, 75.8476, 19.8065)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEC54 #6454EC
analogous
#ECB054 #DCEC54 #90EC54
triadic
#DCEC54 #54DCEC #EC54DC
tetradic
#DCEC54 #54ECB0 #6454EC #EC5490
square
#DCEC54 #54ECB0 #6454EC #EC5490
split-complementary
#DCEC54 #5490EC #B054EC
monochromatic
#A1B214 #D1E61D #DCEC54 #E7F28B #F3F8C2

Accessibility & contrast

On white

1.30
#DCEC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#DCEC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEC54
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEC54#FFFFFF#000000##000000
##DCEC541.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE13F
Deuteranopia (green-blind)
#FBE35F
Tritanopia (blue-blind)
#E9DFCD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dcec54;
/* rgb */ color: rgb(220, 236, 84);
/* oklch */ color: oklch(90.4% 0.172 115.0);
Tailwind
colors: {
  custom: {
    50: '#eaf28b',
    500: '#dcec54',
    950: '#000000',
  },
}
SCSS
$custom: #dcec54;
$custom-light: #eaf28b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcec54",
  "rgb": {
    "r": 220,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 66.316,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90356,
    "c": 0.17247,
    "h": 115
  },
  "luminance": 0.75847
}

Semantic roles & 50–950 ramp

primary
#DCEC54
secondary
#4032B2
accent
#09DC1F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DCEC54

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

Preview Lab → · Contrast checker → · Palette generator →

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