#DCD268#DCD268

#DCD268 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.1% C 0.128 H 103.9°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DCD268
RGBrgb(220, 210, 104)
HSLhsl(55, 62%, 64%)
HSVhsv(55, 53%, 86%)
CMYKcmyk(0%, 4.5%, 52.7%, 13.7%)
CIE-LABlab(83.08, -10.25, 53.07)
CIE-LCHlch(83.08, 54.05, 100.93°)
OKLaboklab(85.06% -0.0308 0.1246)
OKLCHoklch(85.06% 0.128 103.9)
XYZxyz(55.0621, 62.3101, 22.2206)
Luminance0.6231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD268 #6872DC
analogous
#DC9868 #DCD268 #ACDC68
triadic
#DCD268 #68DCD2 #D268DC
tetradic
#DCD268 #68DC98 #6872DC #DC68AC
square
#DCD268 #68DC98 #6872DC #DC68AC
split-complementary
#DCD268 #68ACDC #9868DC
monochromatic
#A49926 #D0C336 #DCD268 #E8E19A #F3F0CB

Accessibility & contrast

On white

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

On black

13.46
#DCD268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD268
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD268#FFFFFF#000000##000000
##DCD2681.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd268;
/* rgb */ color: rgb(220, 210, 104);
/* oklch */ color: oklch(85.1% 0.128 103.9);
Tailwind
colors: {
  custom: {
    50: '#e9df96',
    500: '#dcd268',
    950: '#000000',
  },
}
SCSS
$custom: #dcd268;
$custom-light: #e9df96;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd268",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 54.828,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85058,
    "c": 0.12835,
    "h": 103.9
  },
  "luminance": 0.62308
}

Semantic roles & 50–950 ramp

primary
#DCD268
secondary
#414AA7
accent
#2ACA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD268

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

Preview Lab → · Contrast checker → · Palette generator →

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