#DCD671#DCD671

#DCD671 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.0% C 0.124 H 105.7°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#DCD671
RGBrgb(220, 214, 113)
HSLhsl(57, 60%, 65%)
HSVhsv(57, 49%, 86%)
CMYKcmyk(0%, 2.7%, 48.6%, 13.7%)
CIE-LABlab(84.23, -11.49, 50.19)
CIE-LCHlch(84.23, 51.49, 102.90°)
OKLaboklab(86% -0.0334 0.1191)
OKLCHoklch(86% 0.124 105.7)
XYZxyz(56.5438, 64.5026, 25.0913)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD671 #7177DC
analogous
#DCA171 #DCD671 #ACDC71
triadic
#DCD671 #71DCD6 #D671DC
tetradic
#DCD671 #71DCA1 #7177DC #DC71AC
square
#DCD671 #71DCA1 #7177DC #DC71AC
split-complementary
#DCD671 #71ACDC #A171DC
monochromatic
#A9A22A #D0C840 #DCD671 #E8E4A2 #F4F2D3

Accessibility & contrast

On white

1.51
#DCD671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#DCD671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD671
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD671#FFFFFF#000000##000000
##DCD6711.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF68
Deuteranopia (green-blind)
#E8D476
Tritanopia (blue-blind)
#E9CBBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd671;
/* rgb */ color: rgb(220, 214, 113);
/* oklch */ color: oklch(86.0% 0.124 105.7);
Tailwind
colors: {
  custom: {
    50: '#e9e29c',
    500: '#dcd671',
    950: '#000000',
  },
}
SCSS
$custom: #dcd671;
$custom-light: #e9e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd671",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 56.636,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86003,
    "c": 0.12372,
    "h": 105.7
  },
  "luminance": 0.64501
}

Semantic roles & 50–950 ramp

primary
#DCD671
secondary
#464BAC
accent
#27C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD671

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

Preview Lab → · Contrast checker → · Palette generator →

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