#DCD34D#DCD34D

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

Color values

HEX#DCD34D
RGBrgb(220, 211, 77)
HSLhsl(56, 67%, 58%)
HSVhsv(56, 65%, 86%)
CMYKcmyk(0%, 4.1%, 65%, 13.7%)
CIE-LABlab(83.09, -12.63, 64.87)
CIE-LCHlch(83.09, 66.09, 101.02°)
OKLaboklab(84.99% -0.0405 0.1464)
OKLCHoklch(84.99% 0.152 105.5)
XYZxyz(54.1510, 62.3419, 16.2005)
Luminance0.6234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD34D #4D56DC
analogous
#DC8B4D #DCD34D #9DDC4D
triadic
#DCD34D #4DDCD3 #D34DDC
tetradic
#DCD34D #4DDC8B #4D56DC #DC4D9D
square
#DCD34D #4DDC8B #4D56DC #DC4D9D
split-complementary
#DCD34D #4D9DDC #8B4DDC
monochromatic
#928B1D #C5BB27 #DCD34D #E6E080 #F0ECB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD34D#FFFFFF#000000##000000
##DCD34D1.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)
#E4CC3B
Deuteranopia (green-blind)
#E8D255
Tritanopia (blue-blind)
#ECC5B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd34d;
/* rgb */ color: rgb(220, 211, 77);
/* oklch */ color: oklch(85.0% 0.152 105.5);
Tailwind
colors: {
  custom: {
    50: '#eae085',
    500: '#dcd34d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd34d;
$custom-light: #eae085;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd34d",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 77
  },
  "hsl": {
    "h": 56.224,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84992,
    "c": 0.15186,
    "h": 105.5
  },
  "luminance": 0.6234
}

Semantic roles & 50–950 ramp

primary
#DCD34D
secondary
#363C97
accent
#49EA3E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD34D

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

Preview Lab → · Contrast checker → · Palette generator →

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