#DCD167#DCD167

#DCD167 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.128 H 103.4°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#DCD167
RGBrgb(220, 209, 103)
HSLhsl(54, 63%, 63%)
HSVhsv(54, 53%, 86%)
CMYKcmyk(0%, 5%, 53.2%, 13.7%)
CIE-LABlab(82.81, -9.82, 53.22)
CIE-LCHlch(82.81, 54.12, 100.46°)
OKLaboklab(84.84% -0.0297 0.1248)
OKLCHoklch(84.84% 0.128 103.4)
XYZxyz(54.7655, 61.7977, 21.8727)
Luminance0.6180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD167 #6772DC
analogous
#DC9667 #DCD167 #ACDC67
triadic
#DCD167 #67DCD1 #D167DC
tetradic
#DCD167 #67DC96 #6772DC #DC67AC
square
#DCD167 #67DC96 #6772DC #DC67AC
split-complementary
#DCD167 #67ACDC #9667DC
monochromatic
#A39726 #D1C235 #DCD167 #E7E099 #F3EFCA

Accessibility & contrast

On white

1.57
#DCD167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#DCD167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD167
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD167#FFFFFF#000000##000000
##DCD1671.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5D
Deuteranopia (green-blind)
#E5D16C
Tritanopia (blue-blind)
#EAC5B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd167;
/* rgb */ color: rgb(220, 209, 103);
/* oklch */ color: oklch(84.8% 0.128 103.4);
Tailwind
colors: {
  custom: {
    50: '#e9de95',
    500: '#dcd167',
    950: '#000000',
  },
}
SCSS
$custom: #dcd167;
$custom-light: #e9de95;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd167",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 103
  },
  "hsl": {
    "h": 54.359,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84838,
    "c": 0.1283,
    "h": 103.4
  },
  "luminance": 0.61796
}

Semantic roles & 50–950 ramp

primary
#DCD167
secondary
#414AA6
accent
#2CCA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD167

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

Preview Lab → · Contrast checker → · Palette generator →

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