#DCD05F#DCD05F

#DCD05F is a very light, vivid yellow. Relative luminance 0.612; 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#DCD05F
RGBrgb(220, 208, 95)
HSLhsl(54, 64%, 62%)
HSVhsv(54, 57%, 86%)
CMYKcmyk(0%, 5.5%, 56.8%, 13.7%)
CIE-LABlab(82.46, -9.94, 56.50)
CIE-LCHlch(82.46, 57.37, 99.98°)
OKLaboklab(84.54% -0.0309 0.131)
OKLCHoklch(84.54% 0.135 103.3)
XYZxyz(54.1384, 61.1555, 19.7767)
Luminance0.6115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD05F #5F6BDC
analogous
#DC925F #DCD05F #AADC5F
triadic
#DCD05F #5FDCD0 #D05FDC
tetradic
#DCD05F #5FDC92 #5F6BDC #DC5FAA
square
#DCD05F #5FDC92 #5F6BDC #DC5FAA
split-complementary
#DCD05F #5FAADC #925FDC
monochromatic
#9E9223 #D0C12E #DCD05F #E7DF91 #F2EEC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD05F#FFFFFF#000000##000000
##DCD05F1.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)
#E1CA53
Deuteranopia (green-blind)
#E4D065
Tritanopia (blue-blind)
#EBC3B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd05f;
/* rgb */ color: rgb(220, 208, 95);
/* oklch */ color: oklch(84.5% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#e9de90',
    500: '#dcd05f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd05f;
$custom-light: #e9de90;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd05f",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 54.24,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84539,
    "c": 0.1346,
    "h": 103.3
  },
  "luminance": 0.61154
}

Semantic roles & 50–950 ramp

primary
#DCD05F
secondary
#3E47A2
accent
#2BCC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD05F

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

Preview Lab → · Contrast checker → · Palette generator →

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