#DCD55F#DCD55F

#DCD55F is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.6% C 0.139 H 105.8°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#DCD55F
RGBrgb(220, 213, 95)
HSLhsl(57, 64%, 62%)
HSVhsv(57, 57%, 86%)
CMYKcmyk(0%, 3.2%, 56.8%, 13.7%)
CIE-LABlab(83.77, -12.45, 57.98)
CIE-LCHlch(83.77, 59.30, 102.12°)
OKLaboklab(85.58% -0.0381 0.1342)
OKLCHoklch(85.58% 0.139 105.8)
XYZxyz(55.3767, 63.6321, 20.1894)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD55F #5F66DC
analogous
#DC975F #DCD55F #A5DC5F
triadic
#DCD55F #5FDCD5 #D55FDC
tetradic
#DCD55F #5FDC97 #5F66DC #DC5FA5
square
#DCD55F #5FDC97 #5F66DC #DC5FA5
split-complementary
#DCD55F #5FA5DC #975FDC
monochromatic
#9E9723 #D0C72E #DCD55F #E7E291 #F2EFC3

Accessibility & contrast

On white

1.53
#DCD55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#DCD55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD55F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD55F#FFFFFF#000000##000000
##DCD55F1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE53
Deuteranopia (green-blind)
#E8D365
Tritanopia (blue-blind)
#EBC8BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd55f;
/* rgb */ color: rgb(220, 213, 95);
/* oklch */ color: oklch(85.6% 0.139 105.8);
Tailwind
colors: {
  custom: {
    50: '#e9e190',
    500: '#dcd55f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd55f;
$custom-light: #e9e190;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd55f",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 56.64,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85582,
    "c": 0.13948,
    "h": 105.8
  },
  "luminance": 0.6363
}

Semantic roles & 50–950 ramp

primary
#DCD55F
secondary
#3E43A2
accent
#24CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD55F

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

Preview Lab → · Contrast checker → · Palette generator →

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