#DCD04E#DCD04E

#DCD04E is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.4% C 0.148 H 104.0°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#DCD04E
RGBrgb(220, 208, 78)
HSLhsl(55, 67%, 58%)
HSVhsv(55, 65%, 86%)
CMYKcmyk(0%, 5.5%, 64.5%, 13.7%)
CIE-LABlab(82.31, -11.07, 63.66)
CIE-LCHlch(82.31, 64.61, 99.86°)
OKLaboklab(84.37% -0.036 0.1439)
OKLCHoklch(84.37% 0.148 104)
XYZxyz(53.4483, 60.8795, 16.1418)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD04E #4E5ADC
analogous
#DC894E #DCD04E #A1DC4E
triadic
#DCD04E #4EDCD0 #D04EDC
tetradic
#DCD04E #4EDC89 #4E5ADC #DC4EA1
square
#DCD04E #4EDC89 #4E5ADC #DC4EA1
split-complementary
#DCD04E #4EA1DC #894EDC
monochromatic
#93891D #C6B827 #DCD04E #E6DE81 #F0EBB4

Accessibility & contrast

On white

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

On black

13.18
#DCD04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD04E
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD04E#FFFFFF#000000##000000
##DCD04E1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93D
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#ECC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd04e;
/* rgb */ color: rgb(220, 208, 78);
/* oklch */ color: oklch(84.4% 0.148 104.0);
Tailwind
colors: {
  custom: {
    50: '#eade86',
    500: '#dcd04e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd04e;
$custom-light: #eade86;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd04e",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 54.93,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84373,
    "c": 0.14836,
    "h": 104
  },
  "luminance": 0.60877
}

Semantic roles & 50–950 ramp

primary
#DCD04E
secondary
#373F97
accent
#4CEA3E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD04E

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

Preview Lab → · Contrast checker → · Palette generator →

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