#DCD151#DCD151

#DCD151 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.6% C 0.147 H 104.4°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#DCD151
RGBrgb(220, 209, 81)
HSLhsl(55, 67%, 59%)
HSVhsv(55, 63%, 86%)
CMYKcmyk(0%, 5%, 63.2%, 13.7%)
CIE-LABlab(82.60, -11.39, 62.72)
CIE-LCHlch(82.60, 63.75, 100.29°)
OKLaboklab(84.61% -0.0366 0.1424)
OKLCHoklch(84.61% 0.147 104.4)
XYZxyz(53.8029, 61.4126, 16.8027)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD151 #515CDC
analogous
#DC8C51 #DCD151 #A2DC51
triadic
#DCD151 #51DCD1 #D151DC
tetradic
#DCD151 #51DC8C #515CDC #DC51A2
square
#DCD151 #51DC8C #515CDC #DC51A2
split-complementary
#DCD151 #51A2DC #8C51DC
monochromatic
#958B1E #C8BB28 #DCD151 #E6DE84 #F0ECB7

Accessibility & contrast

On white

1.58
#DCD151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#DCD151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD151
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD151#FFFFFF#000000##000000
##DCD1511.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#ECC4B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd151;
/* rgb */ color: rgb(220, 209, 81);
/* oklch */ color: oklch(84.6% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#eade88',
    500: '#dcd151',
    950: '#000000',
  },
}
SCSS
$custom: #dcd151;
$custom-light: #eade88;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd151",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 55.252,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84608,
    "c": 0.14703,
    "h": 104.4
  },
  "luminance": 0.61411
}

Semantic roles & 50–950 ramp

primary
#DCD151
secondary
#384099
accent
#4CE93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD151

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

Preview Lab → · Contrast checker → · Palette generator →

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