#DCD68D#DCD68D

#DCD68D is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.4% C 0.094 H 104.2°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#DCD68D
RGBrgb(220, 214, 141)
HSLhsl(55, 53%, 71%)
HSVhsv(55, 36%, 86%)
CMYKcmyk(0%, 2.7%, 35.9%, 13.7%)
CIE-LABlab(84.60, -8.64, 36.83)
CIE-LCHlch(84.60, 37.83, 103.20°)
OKLaboklab(86.43% -0.0229 0.0907)
OKLCHoklch(86.43% 0.094 104.2)
XYZxyz(58.3703, 65.2332, 34.7106)
Luminance0.6523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD68D #8D93DC
analogous
#DCAE8D #DCD68D #BADC8D
triadic
#DCD68D #8DDCD6 #D68DDC
tetradic
#DCD68D #8DDCAE #8D93DC #DC8DBA
square
#DCD68D #8DDCAE #8D93DC #DC8DBA
split-complementary
#DCD68D #8DBADC #AE8DDC
monochromatic
#B7AD38 #CEC55E #DCD68D #EAE7BC #F8F7E8

Accessibility & contrast

On white

1.50
#DCD68D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#DCD68D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD68D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD68D#FFFFFF#000000##000000
##DCD68D1.001.5014.0514.05
#FFFFFF1.501.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D188
Deuteranopia (green-blind)
#E5D590
Tritanopia (blue-blind)
#E7CDC4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd68d;
/* rgb */ color: rgb(220, 214, 141);
/* oklch */ color: oklch(86.4% 0.094 104.2);
Tailwind
colors: {
  custom: {
    50: '#e8e2af',
    500: '#dcd68d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd68d;
$custom-light: #e8e2af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd68d",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 141
  },
  "hsl": {
    "h": 55.443,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86425,
    "c": 0.09355,
    "h": 104.2
  },
  "luminance": 0.65232
}

Semantic roles & 50–950 ramp

primary
#DCD68D
secondary
#5A61B3
accent
#31C025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD68D

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

Preview Lab → · Contrast checker → · Palette generator →

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