#DCE940#DCE940

#DCE940 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.6% C 0.182 H 113.9°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#DCE940
RGBrgb(220, 233, 64)
HSLhsl(65, 79%, 58%)
HSVhsv(65, 73%, 91%)
CMYKcmyk(5.6%, 0%, 72.5%, 8.6%)
CIE-LABlab(88.86, -24.06, 75.32)
CIE-LCHlch(88.86, 79.07, 107.71°)
OKLaboklab(89.57% -0.0738 0.1663)
OKLCHoklch(89.57% 0.182 113.9)
XYZxyz(59.5813, 73.8648, 15.9682)
Luminance0.7386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE940 #4D40E9
analogous
#E9A140 #DCE940 #88E940
triadic
#DCE940 #40DCE9 #E940DC
tetradic
#DCE940 #40E9A1 #4D40E9 #E94088
square
#DCE940 #40E9A1 #4D40E9 #E94088
split-complementary
#DCE940 #4088E9 #A140E9
monochromatic
#929D12 #C5D318 #DCE940 #E6EF77 #F0F6AE

Accessibility & contrast

On white

1.33
#DCE940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#DCE940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE940
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE940#FFFFFF#000000##000000
##DCE9401.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE1D
Deuteranopia (green-blind)
#FAE14E
Tritanopia (blue-blind)
#EBDBC9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #dce940;
/* rgb */ color: rgb(220, 233, 64);
/* oklch */ color: oklch(89.6% 0.182 113.9);
Tailwind
colors: {
  custom: {
    50: '#ebef81',
    500: '#dce940',
    950: '#000000',
  },
}
SCSS
$custom: #dce940;
$custom-light: #ebef81;
$custom-dark: #000000;
JSON
{
  "hex": "#dce940",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 64
  },
  "hsl": {
    "h": 64.615,
    "s": 79.343,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8957,
    "c": 0.18191,
    "h": 113.9
  },
  "luminance": 0.73864
}

Semantic roles & 50–950 ramp

primary
#DCE940
secondary
#362EA0
accent
#32F641
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #DCE940

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

Preview Lab → · Contrast checker → · Palette generator →

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