#DCD35B#DCD35B

#DCD35B is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.1% C 0.141 H 105.0°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#DCD35B
RGBrgb(220, 211, 91)
HSLhsl(56, 65%, 61%)
HSVhsv(56, 59%, 86%)
CMYKcmyk(0%, 4.1%, 58.6%, 13.7%)
CIE-LABlab(83.21, -11.74, 59.12)
CIE-LCHlch(83.21, 60.27, 101.23°)
OKLaboklab(85.12% -0.0365 0.1361)
OKLCHoklch(85.12% 0.141 105)
XYZxyz(54.6996, 62.5613, 19.0897)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD35B #5B64DC
analogous
#DC925B #DCD35B #A4DC5B
triadic
#DCD35B #5BDCD3 #D35BDC
tetradic
#DCD35B #5BDC92 #5B64DC #DC5BA4
square
#DCD35B #5BDC92 #5B64DC #DC5BA4
split-complementary
#DCD35B #5BA4DC #925BDC
monochromatic
#9B9321 #CEC32C #DCD35B #E7E18D #F2EEC0

Accessibility & contrast

On white

1.55
#DCD35B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#DCD35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD35B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD35B#FFFFFF#000000##000000
##DCD35B1.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4E
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#EBC6B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd35b;
/* rgb */ color: rgb(220, 211, 91);
/* oklch */ color: oklch(85.1% 0.141 105.0);
Tailwind
colors: {
  custom: {
    50: '#eae08e',
    500: '#dcd35b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd35b;
$custom-light: #eae08e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd35b",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 91
  },
  "hsl": {
    "h": 55.814,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85122,
    "c": 0.14092,
    "h": 105
  },
  "luminance": 0.6256
}

Semantic roles & 50–950 ramp

primary
#DCD35B
secondary
#3C439F
accent
#25CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD35B

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

Preview Lab → · Contrast checker → · Palette generator →

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