#DCD45F#DCD45F

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

Color values

HEX#DCD45F
RGBrgb(220, 212, 95)
HSLhsl(56, 64%, 62%)
HSVhsv(56, 57%, 86%)
CMYKcmyk(0%, 3.6%, 56.8%, 13.7%)
CIE-LABlab(83.51, -11.95, 57.68)
CIE-LCHlch(83.51, 58.91, 101.71°)
OKLaboklab(85.37% -0.0366 0.1335)
OKLCHoklch(85.37% 0.138 105.3)
XYZxyz(55.1260, 63.1306, 20.1059)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD45F #5F67DC
analogous
#DC965F #DCD45F #A6DC5F
triadic
#DCD45F #5FDCD4 #D45FDC
tetradic
#DCD45F #5FDC96 #5F67DC #DC5FA6
square
#DCD45F #5FDC96 #5F67DC #DC5FA6
split-complementary
#DCD45F #5FA6DC #965FDC
monochromatic
#9E9623 #D0C62E #DCD45F #E7E191 #F2EFC3

Accessibility & contrast

On white

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

On black

13.63
#DCD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD45F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD45F#FFFFFF#000000##000000
##DCD45F1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd45f;
/* rgb */ color: rgb(220, 212, 95);
/* oklch */ color: oklch(85.4% 0.138 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9e190',
    500: '#dcd45f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd45f;
$custom-light: #e9e190;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd45f",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 56.16,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85373,
    "c": 0.13848,
    "h": 105.3
  },
  "luminance": 0.63129
}

Semantic roles & 50–950 ramp

primary
#DCD45F
secondary
#3E44A2
accent
#25CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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