#DCD45C#DCD45C

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

Color values

HEX#DCD45C
RGBrgb(220, 212, 92)
HSLhsl(56, 65%, 61%)
HSVhsv(56, 58%, 86%)
CMYKcmyk(0%, 3.6%, 58.2%, 13.7%)
CIE-LABlab(83.48, -12.17, 58.98)
CIE-LCHlch(83.48, 60.22, 101.66°)
OKLaboklab(85.34% -0.0376 0.1359)
OKLCHoklch(85.34% 0.141 105.5)
XYZxyz(54.9922, 63.0771, 19.4015)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD45C #5C64DC
analogous
#DC945C #DCD45C #A4DC5C
triadic
#DCD45C #5CDCD4 #D45CDC
tetradic
#DCD45C #5CDC94 #5C64DC #DC5CA4
square
#DCD45C #5CDC94 #5C64DC #DC5CA4
split-complementary
#DCD45C #5CA4DC #945CDC
monochromatic
#9C9422 #CEC42C #DCD45C #E7E18E #F2EFC1

Accessibility & contrast

On white

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

On black

13.62
#DCD45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD45C
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD45C#FFFFFF#000000##000000
##DCD45C1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd45c;
/* rgb */ color: rgb(220, 212, 92);
/* oklch */ color: oklch(85.3% 0.141 105.5);
Tailwind
colors: {
  custom: {
    50: '#eae18e',
    500: '#dcd45c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd45c;
$custom-light: #eae18e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd45c",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 56.25,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85341,
    "c": 0.14105,
    "h": 105.5
  },
  "luminance": 0.63075
}

Semantic roles & 50–950 ramp

primary
#DCD45C
secondary
#3C43A0
accent
#24CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD45C

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

Preview Lab → · Contrast checker → · Palette generator →

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