#DCD362#DCD362

#DCD362 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.2% C 0.135 H 104.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#DCD362
RGBrgb(220, 211, 98)
HSLhsl(56, 64%, 62%)
HSVhsv(56, 55%, 86%)
CMYKcmyk(0%, 4.1%, 55.5%, 13.7%)
CIE-LABlab(83.28, -11.23, 56.07)
CIE-LCHlch(83.28, 57.18, 101.32°)
OKLaboklab(85.2% -0.0342 0.1304)
OKLCHoklch(85.2% 0.135 104.7)
XYZxyz(55.0158, 62.6878, 20.7548)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD362 #626BDC
analogous
#DC9662 #DCD362 #A8DC62
triadic
#DCD362 #62DCD3 #D362DC
tetradic
#DCD362 #62DC96 #626BDC #DC62A8
square
#DCD362 #62DC96 #626BDC #DC62A8
split-complementary
#DCD362 #62A8DC #9662DC
monochromatic
#A09724 #D1C530 #DCD362 #E7E194 #F2EFC6

Accessibility & contrast

On white

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

On black

13.54
#DCD362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD362
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD362#FFFFFF#000000##000000
##DCD3621.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E7D268
Tritanopia (blue-blind)
#EAC7BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd362;
/* rgb */ color: rgb(220, 211, 98);
/* oklch */ color: oklch(85.2% 0.135 104.7);
Tailwind
colors: {
  custom: {
    50: '#e9e092',
    500: '#dcd362',
    950: '#000000',
  },
}
SCSS
$custom: #dcd362;
$custom-light: #e9e092;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd362",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 55.574,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85197,
    "c": 0.13485,
    "h": 104.7
  },
  "luminance": 0.62686
}

Semantic roles & 50–950 ramp

primary
#DCD362
secondary
#3F46A3
accent
#27CB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD362

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

Preview Lab → · Contrast checker → · Palette generator →

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