#DCDF40#DCDF40

#DCDF40 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.4% C 0.172 H 110.6°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#DCDF40
RGBrgb(220, 223, 64)
HSLhsl(61, 71%, 56%)
HSVhsv(61, 71%, 87%)
CMYKcmyk(1.3%, 0%, 71.3%, 12.5%)
CIE-LABlab(86.19, -19.24, 72.77)
CIE-LCHlch(86.19, 75.27, 104.81°)
OKLaboklab(87.43% -0.0604 0.1609)
OKLCHoklch(87.43% 0.172 110.6)
XYZxyz(56.8302, 68.3627, 15.0512)
Luminance0.6836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDF40 #4340DF
analogous
#DF9340 #DCDF40 #8DDF40
triadic
#DCDF40 #40DCDF #DF40DC
tetradic
#DCDF40 #40DF93 #4340DF #DF408D
square
#DCDF40 #40DF93 #4340DF #DF408D
split-complementary
#DCDF40 #408DDF #9340DF
monochromatic
#8B8D18 #BEC120 #DCDF40 #E6E874 #EFF1A9

Accessibility & contrast

On white

1.43
#DCDF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#DCDF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDF40
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDF40#FFFFFF#000000##000000
##DCDF401.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D522
Deuteranopia (green-blind)
#F2DA4C
Tritanopia (blue-blind)
#EBD1C0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdf40;
/* rgb */ color: rgb(220, 223, 64);
/* oklch */ color: oklch(87.4% 0.172 110.6);
Tailwind
colors: {
  custom: {
    50: '#ebe87f',
    500: '#dcdf40',
    950: '#000000',
  },
}
SCSS
$custom: #dcdf40;
$custom-light: #ebe87f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdf40",
  "rgb": {
    "r": 220,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 61.132,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.87432,
    "c": 0.17184,
    "h": 110.6
  },
  "luminance": 0.68361
}

Semantic roles & 50–950 ramp

primary
#DCDF40
secondary
#333192
accent
#3AEE3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DCDF40

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

Preview Lab → · Contrast checker → · Palette generator →

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