#DCD05E#DCD05E

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

Color values

HEX#DCD05E
RGBrgb(220, 208, 94)
HSLhsl(54, 64%, 62%)
HSVhsv(54, 57%, 86%)
CMYKcmyk(0%, 5.5%, 57.3%, 13.7%)
CIE-LABlab(82.45, -10.01, 56.94)
CIE-LCHlch(82.45, 57.81, 99.97°)
OKLaboklab(84.53% -0.0312 0.1318)
OKLCHoklch(84.53% 0.135 103.3)
XYZxyz(54.0933, 61.1375, 19.5388)
Luminance0.6114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD05E #5E6ADC
analogous
#DC915E #DCD05E #A9DC5E
triadic
#DCD05E #5EDCD0 #D05EDC
tetradic
#DCD05E #5EDC91 #5E6ADC #DC5EA9
square
#DCD05E #5EDC91 #5E6ADC #DC5EA9
split-complementary
#DCD05E #5EA9DC #915EDC
monochromatic
#9D9222 #D0C02D #DCD05E #E7DF90 #F2EDC3

Accessibility & contrast

On white

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

On black

13.23
#DCD05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD05E
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD05E#FFFFFF#000000##000000
##DCD05E1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd05e;
/* rgb */ color: rgb(220, 208, 94);
/* oklch */ color: oklch(84.5% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#e9de8f',
    500: '#dcd05e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd05e;
$custom-light: #e9de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd05e",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 54.286,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84528,
    "c": 0.13547,
    "h": 103.3
  },
  "luminance": 0.61136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD05E

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

Preview Lab → · Contrast checker → · Palette generator →

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