#DCD458#DCD458

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

Color values

HEX#DCD458
RGBrgb(220, 212, 88)
HSLhsl(56, 65%, 60%)
HSVhsv(56, 60%, 86%)
CMYKcmyk(0%, 3.6%, 60%, 13.7%)
CIE-LABlab(83.45, -12.44, 60.68)
CIE-LCHlch(83.45, 61.94, 101.59°)
OKLaboklab(85.3% -0.0388 0.1391)
OKLCHoklch(85.3% 0.144 105.6)
XYZxyz(54.8220, 63.0090, 18.5048)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD458 #5860DC
analogous
#DC9258 #DCD458 #A2DC58
triadic
#DCD458 #58DCD4 #D458DC
tetradic
#DCD458 #58DC92 #5860DC #DC58A2
square
#DCD458 #58DC92 #5860DC #DC58A2
split-complementary
#DCD458 #58A2DC #9258DC
monochromatic
#999220 #CCC22B #DCD458 #E7E18B #F1EEBD

Accessibility & contrast

On white

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

On black

13.60
#DCD458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD458
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD458#FFFFFF#000000##000000
##DCD4581.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd458;
/* rgb */ color: rgb(220, 212, 88);
/* oklch */ color: oklch(85.3% 0.144 105.6);
Tailwind
colors: {
  custom: {
    50: '#eae18c',
    500: '#dcd458',
    950: '#000000',
  },
}
SCSS
$custom: #dcd458;
$custom-light: #eae18c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd458",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 56.364,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85301,
    "c": 0.14436,
    "h": 105.6
  },
  "luminance": 0.63007
}

Semantic roles & 50–950 ramp

primary
#DCD458
secondary
#3B419E
accent
#23CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD458

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

Preview Lab → · Contrast checker → · Palette generator →

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