#DCD06C#DCD06C

#DCD06C is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.123 H 102.5°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#DCD06C
RGBrgb(220, 208, 108)
HSLhsl(54, 62%, 64%)
HSVhsv(54, 51%, 86%)
CMYKcmyk(0%, 5.5%, 50.9%, 13.7%)
CIE-LABlab(82.60, -8.90, 50.63)
CIE-LCHlch(82.60, 51.40, 99.97°)
OKLaboklab(84.69% -0.0265 0.1197)
OKLCHoklch(84.69% 0.123 102.5)
XYZxyz(54.7794, 61.4119, 23.1526)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD06C #6C78DC
analogous
#DC986C #DCD06C #B0DC6C
triadic
#DCD06C #6CDCD0 #D06CDC
tetradic
#DCD06C #6CDC98 #6C78DC #DC6CB0
square
#DCD06C #6CDC98 #6C78DC #DC6CB0
split-complementary
#DCD06C #6CB0DC #986CDC
monochromatic
#A69928 #D0C03B #DCD06C #E8E09D #F4F0CF

Accessibility & contrast

On white

1.58
#DCD06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#DCD06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD06C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD06C#FFFFFF#000000##000000
##DCD06C1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA63
Deuteranopia (green-blind)
#E3D071
Tritanopia (blue-blind)
#EAC4B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd06c;
/* rgb */ color: rgb(220, 208, 108);
/* oklch */ color: oklch(84.7% 0.123 102.5);
Tailwind
colors: {
  custom: {
    50: '#e9de98',
    500: '#dcd06c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd06c;
$custom-light: #e9de98;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd06c",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 108
  },
  "hsl": {
    "h": 53.571,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84692,
    "c": 0.12255,
    "h": 102.5
  },
  "luminance": 0.6141
}

Semantic roles & 50–950 ramp

primary
#DCD06C
secondary
#434EA9
accent
#2FC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD06C

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

Preview Lab → · Contrast checker → · Palette generator →

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