#DCD06B#DCD06B

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

Color values

HEX#DCD06B
RGBrgb(220, 208, 107)
HSLhsl(54, 62%, 64%)
HSVhsv(54, 51%, 86%)
CMYKcmyk(0%, 5.5%, 51.4%, 13.7%)
CIE-LABlab(82.59, -8.99, 51.09)
CIE-LCHlch(82.59, 51.87, 99.98°)
OKLaboklab(84.68% -0.0269 0.1206)
OKLCHoklch(84.68% 0.124 102.6)
XYZxyz(54.7265, 61.3908, 22.8739)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD06B #6B77DC
analogous
#DC986B #DCD06B #B0DC6B
triadic
#DCD06B #6BDCD0 #D06BDC
tetradic
#DCD06B #6BDC98 #6B77DC #DC6BB0
square
#DCD06B #6BDC98 #6B77DC #DC6BB0
split-complementary
#DCD06B #6BB0DC #986BDC
monochromatic
#A59827 #D0C03A #DCD06B #E8E09C #F3EFCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD06B#FFFFFF#000000##000000
##DCD06B1.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)
#E0CA62
Deuteranopia (green-blind)
#E4D070
Tritanopia (blue-blind)
#EAC4B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd06b;
/* rgb */ color: rgb(220, 208, 107);
/* oklch */ color: oklch(84.7% 0.124 102.6);
Tailwind
colors: {
  custom: {
    50: '#e9de98',
    500: '#dcd06b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd06b;
$custom-light: #e9de98;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd06b",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 107
  },
  "hsl": {
    "h": 53.628,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8468,
    "c": 0.12353,
    "h": 102.6
  },
  "luminance": 0.61389
}

Semantic roles & 50–950 ramp

primary
#DCD06B
secondary
#434EA8
accent
#2EC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD06B

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

Preview Lab → · Contrast checker → · Palette generator →

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