#DCD75D#DCD75D

#DCD75D is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.0% C 0.143 H 106.9°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#DCD75D
RGBrgb(220, 215, 93)
HSLhsl(58, 64%, 61%)
HSVhsv(58, 58%, 86%)
CMYKcmyk(0%, 2.3%, 57.7%, 13.7%)
CIE-LABlab(84.28, -13.60, 59.43)
CIE-LCHlch(84.28, 60.96, 102.89°)
OKLaboklab(85.98% -0.0415 0.137)
OKLCHoklch(85.98% 0.143 106.9)
XYZxyz(55.7932, 64.6085, 19.8855)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD75D #5D62DC
analogous
#DC985D #DCD75D #A2DC5D
triadic
#DCD75D #5DDCD7 #D75DDC
tetradic
#DCD75D #5DDC98 #5D62DC #DC5DA2
square
#DCD75D #5DDC98 #5D62DC #DC5DA2
split-complementary
#DCD75D #5DA2DC #985DDC
monochromatic
#9D9822 #CFC92D #DCD75D #E7E38F #F2F0C2

Accessibility & contrast

On white

1.51
#DCD75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#DCD75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD75D
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD75D#FFFFFF#000000##000000
##DCD75D1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF50
Deuteranopia (green-blind)
#EAD564
Tritanopia (blue-blind)
#EBCABD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd75d;
/* rgb */ color: rgb(220, 215, 93);
/* oklch */ color: oklch(86.0% 0.143 106.9);
Tailwind
colors: {
  custom: {
    50: '#eae38f',
    500: '#dcd75d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd75d;
$custom-light: #eae38f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd75d",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 93
  },
  "hsl": {
    "h": 57.638,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8598,
    "c": 0.14319,
    "h": 106.9
  },
  "luminance": 0.64607
}

Semantic roles & 50–950 ramp

primary
#DCD75D
secondary
#3D41A1
accent
#20CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD75D

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

Preview Lab → · Contrast checker → · Palette generator →

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