#DCDF78#DCDF78

#DCDF78 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.0% C 0.127 H 110.2°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#DCDF78
RGBrgb(220, 223, 120)
HSLhsl(62, 62%, 67%)
HSVhsv(62, 46%, 87%)
CMYKcmyk(1.3%, 0%, 46.2%, 12.5%)
CIE-LABlab(86.68, -15.34, 49.80)
CIE-LCHlch(86.68, 52.11, 107.12°)
OKLaboklab(87.98% -0.0438 0.1188)
OKLCHoklch(87.98% 0.127 110.2)
XYZxyz(59.2941, 69.3483, 28.0277)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDF78 #7B78DF
analogous
#DFAF78 #DCDF78 #A8DF78
triadic
#DCDF78 #78DCDF #DF78DC
tetradic
#DCDF78 #78DFAF #7B78DF #DF78A8
square
#DCDF78 #78DFAF #7B78DF #DF78A8
split-complementary
#DCDF78 #78A8DF #AF78DF
monochromatic
#AEB22A #CFD347 #DCDF78 #E9EBA9 #F6F6DB

Accessibility & contrast

On white

1.41
#DCDF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#DCDF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDF78
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDF78#FFFFFF#000000##000000
##DCDF781.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#EEDB7D
Tritanopia (blue-blind)
#E8D4C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dcdf78;
/* rgb */ color: rgb(220, 223, 120);
/* oklch */ color: oklch(88.0% 0.127 110.2);
Tailwind
colors: {
  custom: {
    50: '#e9e8a1',
    500: '#dcdf78',
    950: '#000000',
  },
}
SCSS
$custom: #dcdf78;
$custom-light: #e9e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdf78",
  "rgb": {
    "r": 220,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 61.748,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87979,
    "c": 0.12663,
    "h": 110.2
  },
  "luminance": 0.69347
}

Semantic roles & 50–950 ramp

primary
#DCDF78
secondary
#4B47B4
accent
#1CC921
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #DCDF78

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

Preview Lab → · Contrast checker → · Palette generator →

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