#DCDA52#DCDA52

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

Color values

HEX#DCDA52
RGBrgb(220, 218, 82)
HSLhsl(59, 66%, 59%)
HSVhsv(59, 63%, 86%)
CMYKcmyk(0%, 0.9%, 62.7%, 13.7%)
CIE-LABlab(84.98, -15.82, 64.83)
CIE-LCHlch(84.98, 66.73, 103.71°)
OKLaboklab(86.51% -0.049 0.147)
OKLCHoklch(86.51% 0.155 108.4)
XYZxyz(56.1114, 65.9693, 17.7586)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA52 #5254DC
analogous
#DC9552 #DCDA52 #99DC52
triadic
#DCDA52 #52DCDA #DA52DC
tetradic
#DCDA52 #52DC95 #5254DC #DC5299
square
#DCDA52 #52DC95 #5254DC #DC5299
split-complementary
#DCDA52 #5299DC #9552DC
monochromatic
#95941E #C8C629 #DCDA52 #E6E585 #F1F0B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDA52#FFFFFF#000000##000000
##DCDA521.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)
#EBD241
Deuteranopia (green-blind)
#EDD65A
Tritanopia (blue-blind)
#EBCDBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcda52;
/* rgb */ color: rgb(220, 218, 82);
/* oklch */ color: oklch(86.5% 0.155 108.4);
Tailwind
colors: {
  custom: {
    50: '#eae589',
    500: '#dcda52',
    950: '#000000',
  },
}
SCSS
$custom: #dcda52;
$custom-light: #eae589;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda52",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 59.13,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86507,
    "c": 0.15496,
    "h": 108.4
  },
  "luminance": 0.65968
}

Semantic roles & 50–950 ramp

primary
#DCDA52
secondary
#383A9A
accent
#41E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDA52

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

Preview Lab → · Contrast checker → · Palette generator →

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