#DCD15F#DCD15F

#DCD15F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.7% C 0.136 H 103.8°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#DCD15F
RGBrgb(220, 209, 95)
HSLhsl(55, 64%, 62%)
HSVhsv(55, 57%, 86%)
CMYKcmyk(0%, 5%, 56.8%, 13.7%)
CIE-LABlab(82.72, -10.44, 56.79)
CIE-LCHlch(82.72, 57.75, 100.42°)
OKLaboklab(84.75% -0.0323 0.1316)
OKLCHoklch(84.75% 0.136 103.8)
XYZxyz(54.3830, 61.6447, 19.8582)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD15F #5F6ADC
analogous
#DC935F #DCD15F #A9DC5F
triadic
#DCD15F #5FDCD1 #D15FDC
tetradic
#DCD15F #5FDC93 #5F6ADC #DC5FA9
square
#DCD15F #5FDC93 #5F6ADC #DC5FA9
split-complementary
#DCD15F #5FA9DC #935FDC
monochromatic
#9E9323 #D0C22E #DCD15F #E7DF91 #F2EEC3

Accessibility & contrast

On white

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

On black

13.33
#DCD15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD15F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD15F#FFFFFF#000000##000000
##DCD15F1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB53
Deuteranopia (green-blind)
#E5D165
Tritanopia (blue-blind)
#EBC4B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd15f;
/* rgb */ color: rgb(220, 209, 95);
/* oklch */ color: oklch(84.7% 0.136 103.8);
Tailwind
colors: {
  custom: {
    50: '#e9de90',
    500: '#dcd15f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd15f;
$custom-light: #e9de90;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd15f",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 54.72,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84747,
    "c": 0.13555,
    "h": 103.8
  },
  "luminance": 0.61643
}

Semantic roles & 50–950 ramp

primary
#DCD15F
secondary
#3E46A2
accent
#29CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD15F

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

Preview Lab → · Contrast checker → · Palette generator →

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