#DCD867#DCD867

#DCD867 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.135 H 107.1°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#DCD867
RGBrgb(220, 216, 103)
HSLhsl(58, 63%, 63%)
HSVhsv(58, 53%, 86%)
CMYKcmyk(0%, 1.8%, 53.2%, 13.7%)
CIE-LABlab(84.64, -13.34, 55.35)
CIE-LCHlch(84.64, 56.94, 103.55°)
OKLaboklab(86.3% -0.0397 0.1294)
OKLCHoklch(86.3% 0.135 107.1)
XYZxyz(56.5208, 65.3082, 22.4577)
Luminance0.6531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD867 #676BDC
analogous
#DC9D67 #DCD867 #A5DC67
triadic
#DCD867 #67DCD8 #D867DC
tetradic
#DCD867 #67DC9D #676BDC #DC67A5
square
#DCD867 #67DC9D #676BDC #DC67A5
split-complementary
#DCD867 #67A5DC #9D67DC
monochromatic
#A39F26 #D1CB35 #DCD867 #E7E599 #F3F2CA

Accessibility & contrast

On white

1.49
#DCD867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#DCD867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD867
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD867#FFFFFF#000000##000000
##DCD8671.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15C
Deuteranopia (green-blind)
#EAD56D
Tritanopia (blue-blind)
#EACCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd867;
/* rgb */ color: rgb(220, 216, 103);
/* oklch */ color: oklch(86.3% 0.135 107.1);
Tailwind
colors: {
  custom: {
    50: '#e9e396',
    500: '#dcd867',
    950: '#000000',
  },
}
SCSS
$custom: #dcd867;
$custom-light: #e9e396;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd867",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 103
  },
  "hsl": {
    "h": 57.949,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86298,
    "c": 0.1354,
    "h": 107.1
  },
  "luminance": 0.65307
}

Semantic roles & 50–950 ramp

primary
#DCD867
secondary
#4144A6
accent
#21CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD867

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

Preview Lab → · Contrast checker → · Palette generator →

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