#DCD75C#DCD75C

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

Color values

HEX#DCD75C
RGBrgb(220, 215, 92)
HSLhsl(58, 65%, 61%)
HSVhsv(58, 58%, 86%)
CMYKcmyk(0%, 2.3%, 58.2%, 13.7%)
CIE-LABlab(84.27, -13.67, 59.85)
CIE-LCHlch(84.27, 61.40, 102.86°)
OKLaboklab(85.97% -0.0419 0.1378)
OKLCHoklch(85.97% 0.144 106.9)
XYZxyz(55.7491, 64.5909, 19.6538)
Luminance0.6459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD75C #5C61DC
analogous
#DC975C #DCD75C #A1DC5C
triadic
#DCD75C #5CDCD7 #D75CDC
tetradic
#DCD75C #5CDC97 #5C61DC #DC5CA1
square
#DCD75C #5CDC97 #5C61DC #DC5CA1
split-complementary
#DCD75C #5CA1DC #975CDC
monochromatic
#9C9722 #CEC82C #DCD75C #E7E38E #F2F0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD75C#FFFFFF#000000##000000
##DCD75C1.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)
#E7CF4E
Deuteranopia (green-blind)
#EAD563
Tritanopia (blue-blind)
#EBCABC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd75c;
/* rgb */ color: rgb(220, 215, 92);
/* oklch */ color: oklch(86.0% 0.144 106.9);
Tailwind
colors: {
  custom: {
    50: '#eae38f',
    500: '#dcd75c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd75c;
$custom-light: #eae38f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd75c",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 92
  },
  "hsl": {
    "h": 57.656,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8597,
    "c": 0.14404,
    "h": 106.9
  },
  "luminance": 0.64589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD75C

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

Preview Lab → · Contrast checker → · Palette generator →

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