#DCD34F#DCD34F

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

Color values

HEX#DCD34F
RGBrgb(220, 211, 79)
HSLhsl(56, 67%, 59%)
HSVhsv(56, 64%, 86%)
CMYKcmyk(0%, 4.1%, 64.1%, 13.7%)
CIE-LABlab(83.11, -12.51, 64.08)
CIE-LCHlch(83.11, 65.29, 101.05°)
OKLaboklab(85.01% -0.04 0.145)
OKLCHoklch(85.01% 0.15 105.4)
XYZxyz(54.2227, 62.3706, 16.5781)
Luminance0.6237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD34F #4F58DC
analogous
#DC8C4F #DCD34F #9EDC4F
triadic
#DCD34F #4FDCD3 #D34FDC
tetradic
#DCD34F #4FDC8C #4F58DC #DC4F9E
square
#DCD34F #4FDC8C #4F58DC #DC4F9E
split-complementary
#DCD34F #4F9EDC #8C4FDC
monochromatic
#938C1D #C6BC27 #DCD34F #E6E082 #F0EDB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD34F#FFFFFF#000000##000000
##DCD34F1.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)
#E4CC3E
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#EBC6B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd34f;
/* rgb */ color: rgb(220, 211, 79);
/* oklch */ color: oklch(85.0% 0.150 105.4);
Tailwind
colors: {
  custom: {
    50: '#eae087',
    500: '#dcd34f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd34f;
$custom-light: #eae087;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd34f",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 56.17,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85009,
    "c": 0.1504,
    "h": 105.4
  },
  "luminance": 0.62369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD34F

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

Preview Lab → · Contrast checker → · Palette generator →

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