#DCD03F#DCD03F

#DCD03F is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.3% C 0.158 H 104.5°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#DCD03F
RGBrgb(220, 208, 63)
HSLhsl(55, 69%, 55%)
HSVhsv(55, 71%, 86%)
CMYKcmyk(0%, 5.5%, 71.4%, 13.7%)
CIE-LABlab(82.21, -11.86, 69.29)
CIE-LCHlch(82.21, 70.30, 99.71°)
OKLaboklab(84.26% -0.0398 0.1533)
OKLCHoklch(84.26% 0.158 104.5)
XYZxyz(52.9705, 60.6884, 13.6255)
Luminance0.6069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD03F #3F4BDC
analogous
#DC813F #DCD03F #99DC3F
triadic
#DCD03F #3FDCD0 #D03FDC
tetradic
#DCD03F #3FDC81 #3F4BDC #DC3F99
square
#DCD03F #3FDC81 #3F4BDC #DC3F99
split-complementary
#DCD03F #3F99DC #813FDC
monochromatic
#887F19 #BCB022 #DCD03F #E5DD73 #EFE9A7

Accessibility & contrast

On white

1.60
#DCD03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#DCD03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD03F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD03F#FFFFFF#000000##000000
##DCD03F1.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C926
Deuteranopia (green-blind)
#E6CF49
Tritanopia (blue-blind)
#ECC2B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dcd03f;
/* rgb */ color: rgb(220, 208, 63);
/* oklch */ color: oklch(84.3% 0.158 104.5);
Tailwind
colors: {
  custom: {
    50: '#ebde7d',
    500: '#dcd03f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd03f;
$custom-light: #ebde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd03f",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 63
  },
  "hsl": {
    "h": 55.414,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84258,
    "c": 0.15842,
    "h": 104.5
  },
  "luminance": 0.60686
}

Semantic roles & 50–950 ramp

primary
#DCD03F
secondary
#31388E
accent
#49EC3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCD03F

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

Preview Lab → · Contrast checker → · Palette generator →

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