#DCD370#DCD370

#DCD370 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.4% C 0.122 H 104.0°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#DCD370
RGBrgb(220, 211, 112)
HSLhsl(55, 61%, 65%)
HSVhsv(55, 49%, 86%)
CMYKcmyk(0%, 4.1%, 49.1%, 13.7%)
CIE-LABlab(83.43, -10.07, 49.71)
CIE-LCHlch(83.43, 50.72, 101.45°)
OKLaboklab(85.37% -0.0294 0.118)
OKLCHoklch(85.37% 0.122 104)
XYZxyz(55.7356, 62.9757, 24.5457)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD370 #7079DC
analogous
#DC9D70 #DCD370 #AFDC70
triadic
#DCD370 #70DCD3 #D370DC
tetradic
#DCD370 #70DC9D #7079DC #DC70AF
square
#DCD370 #70DC9D #7079DC #DC70AF
split-complementary
#DCD370 #70AFDC #9D70DC
monochromatic
#A89E29 #D0C43F #DCD370 #E8E2A1 #F4F1D2

Accessibility & contrast

On white

1.54
#DCD370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#DCD370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD370
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD370#FFFFFF#000000##000000
##DCD3701.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD67
Deuteranopia (green-blind)
#E5D275
Tritanopia (blue-blind)
#EAC7BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd370;
/* rgb */ color: rgb(220, 211, 112);
/* oklch */ color: oklch(85.4% 0.122 104.0);
Tailwind
colors: {
  custom: {
    50: '#e9e09b',
    500: '#dcd370',
    950: '#000000',
  },
}
SCSS
$custom: #dcd370;
$custom-light: #e9e09b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd370",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 112
  },
  "hsl": {
    "h": 55,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85366,
    "c": 0.12161,
    "h": 104
  },
  "luminance": 0.62974
}

Semantic roles & 50–950 ramp

primary
#DCD370
secondary
#454EAB
accent
#2BC81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD370

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

Preview Lab → · Contrast checker → · Palette generator →

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