#DCD83A#DCD83A

#DCD83A is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.9% C 0.169 H 108.0°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#DCD83A
RGBrgb(220, 216, 58)
HSLhsl(59, 70%, 55%)
HSVhsv(59, 74%, 86%)
CMYKcmyk(0%, 1.8%, 73.6%, 13.7%)
CIE-LABlab(84.30, -16.06, 72.97)
CIE-LCHlch(84.30, 74.72, 102.41°)
OKLaboklab(85.91% -0.052 0.1603)
OKLCHoklch(85.91% 0.169 108)
XYZxyz(54.8369, 64.6347, 13.5893)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD83A #3A3EDC
analogous
#DC873A #DCD83A #8FDC3A
triadic
#DCD83A #3ADCD8 #D83ADC
tetradic
#DCD83A #3ADC87 #3A3EDC #DC3A8F
square
#DCD83A #3ADC87 #3A3EDC #DC3A8F
split-complementary
#DCD83A #3A8FDC #873ADC
monochromatic
#848117 #B8B421 #DCD83A #E5E26E #EEEDA2

Accessibility & contrast

On white

1.51
#DCD83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#DCD83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD83A
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD83A#FFFFFF#000000##000000
##DCD83A1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF17
Deuteranopia (green-blind)
#EDD546
Tritanopia (blue-blind)
#ECCABA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd83a;
/* rgb */ color: rgb(220, 216, 58);
/* oklch */ color: oklch(85.9% 0.169 108.0);
Tailwind
colors: {
  custom: {
    50: '#ebe37c',
    500: '#dcd83a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd83a;
$custom-light: #ebe37c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd83a",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 58
  },
  "hsl": {
    "h": 58.519,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8591,
    "c": 0.1685,
    "h": 108
  },
  "luminance": 0.64633
}

Semantic roles & 50–950 ramp

primary
#DCD83A
secondary
#30328B
accent
#40ED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCD83A

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

Preview Lab → · Contrast checker → · Palette generator →

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