#DCD75A#DCD75A

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

Color values

HEX#DCD75A
RGBrgb(220, 215, 90)
HSLhsl(58, 65%, 61%)
HSVhsv(58, 59%, 86%)
CMYKcmyk(0%, 2.3%, 59.1%, 13.7%)
CIE-LABlab(84.25, -13.81, 60.70)
CIE-LCHlch(84.25, 62.25, 102.82°)
OKLaboklab(85.95% -0.0425 0.1394)
OKLCHoklch(85.95% 0.146 106.9)
XYZxyz(55.6629, 64.5564, 19.1994)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD75A #5A5FDC
analogous
#DC965A #DCD75A #A0DC5A
triadic
#DCD75A #5ADCD7 #D75ADC
tetradic
#DCD75A #5ADC96 #5A5FDC #DC5AA0
square
#DCD75A #5ADC96 #5A5FDC #DC5AA0
split-complementary
#DCD75A #5AA0DC #965ADC
monochromatic
#9B9621 #CDC72C #DCD75A #E7E38C #F1EFBF

Accessibility & contrast

On white

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

On black

13.91
#DCD75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD75A
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD75A#FFFFFF#000000##000000
##DCD75A1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF4C
Deuteranopia (green-blind)
#EAD561
Tritanopia (blue-blind)
#EBCABC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd75a;
/* rgb */ color: rgb(220, 215, 90);
/* oklch */ color: oklch(86.0% 0.146 106.9);
Tailwind
colors: {
  custom: {
    50: '#eae38d',
    500: '#dcd75a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd75a;
$custom-light: #eae38d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd75a",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 90
  },
  "hsl": {
    "h": 57.692,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8595,
    "c": 0.14569,
    "h": 106.9
  },
  "luminance": 0.64555
}

Semantic roles & 50–950 ramp

primary
#DCD75A
secondary
#3B3F9F
accent
#20CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD75A

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

Preview Lab → · Contrast checker → · Palette generator →

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