#DCD266#DCD266

#DCD266 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.0% C 0.130 H 104.0°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#DCD266
RGBrgb(220, 210, 102)
HSLhsl(55, 63%, 63%)
HSVhsv(55, 54%, 86%)
CMYKcmyk(0%, 4.5%, 53.6%, 13.7%)
CIE-LABlab(83.06, -10.41, 53.98)
CIE-LCHlch(83.06, 54.97, 100.91°)
OKLaboklab(85.03% -0.0315 0.1264)
OKLCHoklch(85.03% 0.13 104)
XYZxyz(54.9617, 62.2699, 21.6919)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD266 #6670DC
analogous
#DC9766 #DCD266 #ABDC66
triadic
#DCD266 #66DCD2 #D266DC
tetradic
#DCD266 #66DC97 #6670DC #DC66AB
square
#DCD266 #66DC97 #6670DC #DC66AB
split-complementary
#DCD266 #66ABDC #9766DC
monochromatic
#A29825 #D1C334 #DCD266 #E7E198 #F3EFCA

Accessibility & contrast

On white

1.56
#DCD266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#DCD266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD266
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD266#FFFFFF#000000##000000
##DCD2661.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E5D16B
Tritanopia (blue-blind)
#EAC6BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd266;
/* rgb */ color: rgb(220, 210, 102);
/* oklch */ color: oklch(85.0% 0.130 104.0);
Tailwind
colors: {
  custom: {
    50: '#e9df95',
    500: '#dcd266',
    950: '#000000',
  },
}
SCSS
$custom: #dcd266;
$custom-light: #e9df95;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd266",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 54.915,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85034,
    "c": 0.13022,
    "h": 104
  },
  "luminance": 0.62268
}

Semantic roles & 50–950 ramp

primary
#DCD266
secondary
#4149A6
accent
#2ACB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD266

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

Preview Lab → · Contrast checker → · Palette generator →

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