#DCD45E#DCD45E

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

Color values

HEX#DCD45E
RGBrgb(220, 212, 94)
HSLhsl(56, 64%, 62%)
HSVhsv(56, 57%, 86%)
CMYKcmyk(0%, 3.6%, 57.3%, 13.7%)
CIE-LABlab(83.50, -12.03, 58.12)
CIE-LCHlch(83.50, 59.35, 101.69°)
OKLaboklab(85.36% -0.037 0.1344)
OKLCHoklch(85.36% 0.139 105.4)
XYZxyz(55.0808, 63.1126, 19.8680)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD45E #5E66DC
analogous
#DC955E #DCD45E #A5DC5E
triadic
#DCD45E #5EDCD4 #D45EDC
tetradic
#DCD45E #5EDC95 #5E66DC #DC5EA5
square
#DCD45E #5EDC95 #5E66DC #DC5EA5
split-complementary
#DCD45E #5EA5DC #955EDC
monochromatic
#9D9622 #D0C52D #DCD45E #E7E190 #F2EFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD45E#FFFFFF#000000##000000
##DCD45E1.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)
#E4CD51
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#EBC7BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd45e;
/* rgb */ color: rgb(220, 212, 94);
/* oklch */ color: oklch(85.4% 0.139 105.4);
Tailwind
colors: {
  custom: {
    50: '#e9e190',
    500: '#dcd45e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd45e;
$custom-light: #e9e190;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd45e",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 56.19,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85362,
    "c": 0.13934,
    "h": 105.4
  },
  "luminance": 0.63111
}

Semantic roles & 50–950 ramp

primary
#DCD45E
secondary
#3D43A1
accent
#25CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD45E

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

Preview Lab → · Contrast checker → · Palette generator →

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