#DCDC51#DCDC51

#DCDC51 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.158 H 109.3°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#DCDC51
RGBrgb(220, 220, 81)
HSLhsl(60, 67%, 59%)
HSVhsv(60, 63%, 86%)
CMYKcmyk(0%, 0%, 63.2%, 13.7%)
CIE-LABlab(85.50, -16.87, 65.78)
CIE-LCHlch(85.50, 67.91, 104.38°)
OKLaboklab(86.92% -0.0521 0.1489)
OKLCHoklch(86.92% 0.158 109.3)
XYZxyz(56.5954, 66.9977, 17.7336)
Luminance0.6700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC51 #5151DC
analogous
#DC9751 #DCDC51 #97DC51
triadic
#DCDC51 #51DCDC #DC51DC
tetradic
#DCDC51 #51DC97 #5151DC #DC5197
square
#DCDC51 #51DC97 #5151DC #DC5197
split-complementary
#DCDC51 #5197DC #9751DC
monochromatic
#95951E #C8C828 #DCDC51 #E6E684 #F0F0B7

Accessibility & contrast

On white

1.46
#DCDC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#DCDC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC51
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC51#FFFFFF#000000##000000
##DCDC511.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33F
Deuteranopia (green-blind)
#EFD85A
Tritanopia (blue-blind)
#EBCFBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc51;
/* rgb */ color: rgb(220, 220, 81);
/* oklch */ color: oklch(86.9% 0.158 109.3);
Tailwind
colors: {
  custom: {
    50: '#eae688',
    500: '#dcdc51',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc51;
$custom-light: #eae688;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc51",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86921,
    "c": 0.15771,
    "h": 109.3
  },
  "luminance": 0.66996
}

Semantic roles & 50–950 ramp

primary
#DCDC51
secondary
#383899
accent
#3EE93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC51

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

Preview Lab → · Contrast checker → · Palette generator →

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