#DCD851#DCD851

#DCD851 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.154 H 107.6°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#DCD851
RGBrgb(220, 216, 81)
HSLhsl(58, 67%, 59%)
HSVhsv(58, 63%, 86%)
CMYKcmyk(0%, 1.8%, 63.2%, 13.7%)
CIE-LABlab(84.44, -14.89, 64.67)
CIE-LCHlch(84.44, 66.36, 102.96°)
OKLaboklab(86.08% -0.0465 0.1465)
OKLCHoklch(86.08% 0.154 107.6)
XYZxyz(55.5582, 64.9232, 17.3878)
Luminance0.6492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD851 #5155DC
analogous
#DC9351 #DCD851 #9BDC51
triadic
#DCD851 #51DCD8 #D851DC
tetradic
#DCD851 #51DC93 #5155DC #DC519B
square
#DCD851 #51DC93 #5155DC #DC519B
split-complementary
#DCD851 #519BDC #9351DC
monochromatic
#95911E #C8C328 #DCD851 #E6E384 #F0EFB7

Accessibility & contrast

On white

1.50
#DCD851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#DCD851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD851
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD851#FFFFFF#000000##000000
##DCD8511.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#ECD559
Tritanopia (blue-blind)
#EBCBBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd851;
/* rgb */ color: rgb(220, 216, 81);
/* oklch */ color: oklch(86.1% 0.154 107.6);
Tailwind
colors: {
  custom: {
    50: '#eae388',
    500: '#dcd851',
    950: '#000000',
  },
}
SCSS
$custom: #dcd851;
$custom-light: #eae388;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd851",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 81
  },
  "hsl": {
    "h": 58.273,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86077,
    "c": 0.15373,
    "h": 107.6
  },
  "luminance": 0.64921
}

Semantic roles & 50–950 ramp

primary
#DCD851
secondary
#383B99
accent
#43E93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD851

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

Preview Lab → · Contrast checker → · Palette generator →

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