#DCD45A#DCD45A

#DCD45A is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.3% C 0.143 H 105.5°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#DCD45A
RGBrgb(220, 212, 90)
HSLhsl(56, 65%, 61%)
HSVhsv(56, 59%, 86%)
CMYKcmyk(0%, 3.6%, 59.1%, 13.7%)
CIE-LABlab(83.46, -12.31, 59.83)
CIE-LCHlch(83.46, 61.09, 101.62°)
OKLaboklab(85.32% -0.0382 0.1375)
OKLCHoklch(85.32% 0.143 105.5)
XYZxyz(54.9060, 63.0426, 18.9471)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD45A #5A62DC
analogous
#DC935A #DCD45A #A3DC5A
triadic
#DCD45A #5ADCD4 #D45ADC
tetradic
#DCD45A #5ADC93 #5A62DC #DC5AA3
square
#DCD45A #5ADC93 #5A62DC #DC5AA3
split-complementary
#DCD45A #5AA3DC #935ADC
monochromatic
#9B9321 #CDC32C #DCD45A #E7E18C #F1EEBF

Accessibility & contrast

On white

1.54
#DCD45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#DCD45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD45A
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD45A#FFFFFF#000000##000000
##DCD45A1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4C
Deuteranopia (green-blind)
#E8D361
Tritanopia (blue-blind)
#EBC7BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd45a;
/* rgb */ color: rgb(220, 212, 90);
/* oklch */ color: oklch(85.3% 0.143 105.5);
Tailwind
colors: {
  custom: {
    50: '#eae18d',
    500: '#dcd45a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd45a;
$custom-light: #eae18d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd45a",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 56.308,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85321,
    "c": 0.14273,
    "h": 105.5
  },
  "luminance": 0.63041
}

Semantic roles & 50–950 ramp

primary
#DCD45A
secondary
#3B429F
accent
#24CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DCD45A

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

Preview Lab → · Contrast checker → · Palette generator →

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