#DCDA51#DCDA51

#DCDA51 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.5% C 0.156 H 108.5°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#DCDA51
RGBrgb(220, 218, 81)
HSLhsl(59, 67%, 59%)
HSVhsv(59, 63%, 86%)
CMYKcmyk(0%, 0.9%, 63.2%, 13.7%)
CIE-LABlab(84.97, -15.88, 65.23)
CIE-LCHlch(84.97, 67.13, 103.68°)
OKLaboklab(86.5% -0.0493 0.1477)
OKLCHoklch(86.5% 0.156 108.5)
XYZxyz(56.0737, 65.9542, 17.5596)
Luminance0.6595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA51 #5153DC
analogous
#DC9551 #DCDA51 #99DC51
triadic
#DCDA51 #51DCDA #DA51DC
tetradic
#DCDA51 #51DC95 #5153DC #DC5199
square
#DCDA51 #51DC95 #5153DC #DC5199
split-complementary
#DCDA51 #5199DC #9551DC
monochromatic
#95931E #C8C528 #DCDA51 #E6E584 #F0F0B7

Accessibility & contrast

On white

1.48
#DCDA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#DCDA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA51
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA51#FFFFFF#000000##000000
##DCDA511.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#EDD65A
Tritanopia (blue-blind)
#EBCDBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcda51;
/* rgb */ color: rgb(220, 218, 81);
/* oklch */ color: oklch(86.5% 0.156 108.5);
Tailwind
colors: {
  custom: {
    50: '#eae588',
    500: '#dcda51',
    950: '#000000',
  },
}
SCSS
$custom: #dcda51;
$custom-light: #eae588;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda51",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 59.137,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86498,
    "c": 0.1557,
    "h": 108.5
  },
  "luminance": 0.65953
}

Semantic roles & 50–950 ramp

primary
#DCDA51
secondary
#383999
accent
#41E93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDA51

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

Preview Lab → · Contrast checker → · Palette generator →

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