#DCD766#DCD766

#DCD766 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.1% C 0.135 H 106.6°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#DCD766
RGBrgb(220, 215, 102)
HSLhsl(57, 63%, 63%)
HSVhsv(57, 54%, 86%)
CMYKcmyk(0%, 2.3%, 53.6%, 13.7%)
CIE-LABlab(84.37, -12.92, 55.50)
CIE-LCHlch(84.37, 56.98, 103.11°)
OKLaboklab(86.08% -0.0386 0.1296)
OKLCHoklch(86.08% 0.135 106.6)
XYZxyz(56.2155, 64.7775, 22.1098)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD766 #666BDC
analogous
#DC9C66 #DCD766 #A6DC66
triadic
#DCD766 #66DCD7 #D766DC
tetradic
#DCD766 #66DC9C #666BDC #DC66A6
square
#DCD766 #66DC9C #666BDC #DC66A6
split-complementary
#DCD766 #66A6DC #9C66DC
monochromatic
#A29D25 #D1CA34 #DCD766 #E7E498 #F3F1CA

Accessibility & contrast

On white

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

On black

13.96
#DCD766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD766
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD766#FFFFFF#000000##000000
##DCD7661.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#E9D56C
Tritanopia (blue-blind)
#EACBBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd766;
/* rgb */ color: rgb(220, 215, 102);
/* oklch */ color: oklch(86.1% 0.135 106.6);
Tailwind
colors: {
  custom: {
    50: '#e9e395',
    500: '#dcd766',
    950: '#000000',
  },
}
SCSS
$custom: #dcd766;
$custom-light: #e9e395;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd766",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 102
  },
  "hsl": {
    "h": 57.458,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86077,
    "c": 0.13527,
    "h": 106.6
  },
  "luminance": 0.64776
}

Semantic roles & 50–950 ramp

primary
#DCD766
secondary
#4145A6
accent
#22CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD766

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

Preview Lab → · Contrast checker → · Palette generator →

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