#DCD34E#DCD34E

#DCD34E is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.151 H 105.4°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#DCD34E
RGBrgb(220, 211, 78)
HSLhsl(56, 67%, 58%)
HSVhsv(56, 65%, 86%)
CMYKcmyk(0%, 4.1%, 64.5%, 13.7%)
CIE-LABlab(83.10, -12.57, 64.48)
CIE-LCHlch(83.10, 65.69, 101.03°)
OKLaboklab(85% -0.0402 0.1457)
OKLCHoklch(85% 0.151 105.4)
XYZxyz(54.1866, 62.3561, 16.3879)
Luminance0.6235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD34E #4E57DC
analogous
#DC8C4E #DCD34E #9EDC4E
triadic
#DCD34E #4EDCD3 #D34EDC
tetradic
#DCD34E #4EDC8C #4E57DC #DC4E9E
square
#DCD34E #4EDC8C #4E57DC #DC4E9E
split-complementary
#DCD34E #4E9EDC #8C4EDC
monochromatic
#938B1D #C6BC27 #DCD34E #E6E081 #F0ECB4

Accessibility & contrast

On white

1.56
#DCD34E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#DCD34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD34E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD34E#FFFFFF#000000##000000
##DCD34E1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC3D
Deuteranopia (green-blind)
#E8D256
Tritanopia (blue-blind)
#ECC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd34e;
/* rgb */ color: rgb(220, 211, 78);
/* oklch */ color: oklch(85.0% 0.151 105.4);
Tailwind
colors: {
  custom: {
    50: '#eae086',
    500: '#dcd34e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd34e;
$custom-light: #eae086;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd34e",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 78
  },
  "hsl": {
    "h": 56.197,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85001,
    "c": 0.15113,
    "h": 105.4
  },
  "luminance": 0.62354
}

Semantic roles & 50–950 ramp

primary
#DCD34E
secondary
#373D97
accent
#49EA3E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD34E

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

Preview Lab → · Contrast checker → · Palette generator →

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