#DCD46C#DCD46C

#DCD46C is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.5% C 0.127 H 104.8°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#DCD46C
RGBrgb(220, 212, 108)
HSLhsl(56, 62%, 64%)
HSVhsv(56, 51%, 86%)
CMYKcmyk(0%, 3.6%, 50.9%, 13.7%)
CIE-LABlab(83.65, -10.92, 51.87)
CIE-LCHlch(83.65, 53.00, 101.89°)
OKLaboklab(85.52% -0.0323 0.1224)
OKLCHoklch(85.52% 0.127 104.8)
XYZxyz(55.7670, 63.3870, 23.4818)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD46C #6C74DC
analogous
#DC9C6C #DCD46C #ACDC6C
triadic
#DCD46C #6CDCD4 #D46CDC
tetradic
#DCD46C #6CDC9C #6C74DC #DC6CAC
square
#DCD46C #6CDC9C #6C74DC #DC6CAC
split-complementary
#DCD46C #6CACDC #9C6CDC
monochromatic
#A69D28 #D0C63B #DCD46C #E8E29D #F4F1CF

Accessibility & contrast

On white

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

On black

13.68
#DCD46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD46C
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD46C#FFFFFF#000000##000000
##DCD46C1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE62
Deuteranopia (green-blind)
#E7D371
Tritanopia (blue-blind)
#EAC8BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd46c;
/* rgb */ color: rgb(220, 212, 108);
/* oklch */ color: oklch(85.5% 0.127 104.8);
Tailwind
colors: {
  custom: {
    50: '#e9e199',
    500: '#dcd46c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd46c;
$custom-light: #e9e199;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd46c",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 108
  },
  "hsl": {
    "h": 55.714,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85523,
    "c": 0.12655,
    "h": 104.8
  },
  "luminance": 0.63385
}

Semantic roles & 50–950 ramp

primary
#DCD46C
secondary
#434AA9
accent
#29C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD46C

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

Preview Lab → · Contrast checker → · Palette generator →

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