#DCD05C#DCD05C

#DCD05C is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.5% C 0.137 H 103.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#DCD05C
RGBrgb(220, 208, 92)
HSLhsl(54, 65%, 61%)
HSVhsv(54, 58%, 86%)
CMYKcmyk(0%, 5.5%, 58.2%, 13.7%)
CIE-LABlab(82.43, -10.15, 57.81)
CIE-LCHlch(82.43, 58.69, 99.96°)
OKLaboklab(84.51% -0.0318 0.1335)
OKLCHoklch(84.51% 0.137 103.4)
XYZxyz(54.0047, 61.1020, 19.0723)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD05C #5C68DC
analogous
#DC905C #DCD05C #A8DC5C
triadic
#DCD05C #5CDCD0 #D05CDC
tetradic
#DCD05C #5CDC90 #5C68DC #DC5CA8
square
#DCD05C #5CDC90 #5C68DC #DC5CA8
split-complementary
#DCD05C #5CA8DC #905CDC
monochromatic
#9C9122 #CEBF2C #DCD05C #E7DF8E #F2EDC1

Accessibility & contrast

On white

1.59
#DCD05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#DCD05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD05C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD05C#FFFFFF#000000##000000
##DCD05C1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA50
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#EBC3B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd05c;
/* rgb */ color: rgb(220, 208, 92);
/* oklch */ color: oklch(84.5% 0.137 103.4);
Tailwind
colors: {
  custom: {
    50: '#eade8e',
    500: '#dcd05c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd05c;
$custom-light: #eade8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd05c",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 54.375,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84507,
    "c": 0.1372,
    "h": 103.4
  },
  "luminance": 0.611
}

Semantic roles & 50–950 ramp

primary
#DCD05C
secondary
#3C46A0
accent
#2ACC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD05C

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

Preview Lab → · Contrast checker → · Palette generator →

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