#DCD46B#DCD46B

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

Color values

HEX#DCD46B
RGBrgb(220, 212, 107)
HSLhsl(56, 62%, 64%)
HSVhsv(56, 51%, 86%)
CMYKcmyk(0%, 3.6%, 51.4%, 13.7%)
CIE-LABlab(83.63, -11.01, 52.32)
CIE-LCHlch(83.63, 53.47, 101.88°)
OKLaboklab(85.51% -0.0327 0.1233)
OKLCHoklch(85.51% 0.128 104.8)
XYZxyz(55.7141, 63.3659, 23.2031)
Luminance0.6336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD46B #6B73DC
analogous
#DC9C6B #DCD46B #ACDC6B
triadic
#DCD46B #6BDCD4 #D46BDC
tetradic
#DCD46B #6BDC9C #6B73DC #DC6BAC
square
#DCD46B #6BDC9C #6B73DC #DC6BAC
split-complementary
#DCD46B #6BACDC #9C6BDC
monochromatic
#A59D27 #D0C63A #DCD46B #E8E29C #F3F1CE

Accessibility & contrast

On white

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

On black

13.67
#DCD46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD46B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD46B#FFFFFF#000000##000000
##DCD46B1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd46b;
/* rgb */ color: rgb(220, 212, 107);
/* oklch */ color: oklch(85.5% 0.128 104.8);
Tailwind
colors: {
  custom: {
    50: '#e9e198',
    500: '#dcd46b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd46b;
$custom-light: #e9e198;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd46b",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 107
  },
  "hsl": {
    "h": 55.752,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85511,
    "c": 0.12751,
    "h": 104.8
  },
  "luminance": 0.63364
}

Semantic roles & 50–950 ramp

primary
#DCD46B
secondary
#434AA8
accent
#28C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD46B

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

Preview Lab → · Contrast checker → · Palette generator →

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