#DCD35F#DCD35F

#DCD35F is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.137 H 104.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#DCD35F
RGBrgb(220, 211, 95)
HSLhsl(56, 64%, 62%)
HSVhsv(56, 57%, 86%)
CMYKcmyk(0%, 4.1%, 56.8%, 13.7%)
CIE-LABlab(83.25, -11.45, 57.39)
CIE-LCHlch(83.25, 58.52, 101.28°)
OKLaboklab(85.16% -0.0352 0.1329)
OKLCHoklch(85.16% 0.137 104.8)
XYZxyz(54.8768, 62.6322, 20.0228)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD35F #5F68DC
analogous
#DC955F #DCD35F #A7DC5F
triadic
#DCD35F #5FDCD3 #D35FDC
tetradic
#DCD35F #5FDC95 #5F68DC #DC5FA7
square
#DCD35F #5FDC95 #5F68DC #DC5FA7
split-complementary
#DCD35F #5FA7DC #955FDC
monochromatic
#9E9523 #D0C52E #DCD35F #E7E191 #F2EFC3

Accessibility & contrast

On white

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

On black

13.53
#DCD35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD35F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD35F#FFFFFF#000000##000000
##DCD35F1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC53
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#EBC6BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd35f;
/* rgb */ color: rgb(220, 211, 95);
/* oklch */ color: oklch(85.2% 0.137 104.8);
Tailwind
colors: {
  custom: {
    50: '#e9e090',
    500: '#dcd35f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd35f;
$custom-light: #e9e090;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd35f",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 95
  },
  "hsl": {
    "h": 55.68,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85164,
    "c": 0.13749,
    "h": 104.8
  },
  "luminance": 0.6263
}

Semantic roles & 50–950 ramp

primary
#DCD35F
secondary
#3E45A2
accent
#26CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD35F

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

Preview Lab → · Contrast checker → · Palette generator →

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