#DCDA62#DCDA62

#DCDA62 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.142 H 108.1°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#DCDA62
RGBrgb(220, 218, 98)
HSLhsl(59, 64%, 62%)
HSVhsv(59, 55%, 86%)
CMYKcmyk(0%, 0.9%, 55.5%, 13.7%)
CIE-LABlab(85.12, -14.73, 58.16)
CIE-LCHlch(85.12, 59.99, 104.21°)
OKLaboklab(86.66% -0.0442 0.1349)
OKLCHoklch(86.66% 0.142 108.1)
XYZxyz(56.7928, 66.2419, 21.3472)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA62 #6264DC
analogous
#DC9D62 #DCDA62 #A1DC62
triadic
#DCDA62 #62DCDA #DA62DC
tetradic
#DCDA62 #62DC9D #6264DC #DC62A1
square
#DCDA62 #62DC9D #6264DC #DC62A1
split-complementary
#DCDA62 #62A1DC #9D62DC
monochromatic
#A09E24 #D1CE30 #DCDA62 #E7E694 #F2F2C6

Accessibility & contrast

On white

1.47
#DCDA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#DCDA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA62
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA62#FFFFFF#000000##000000
##DCDA621.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#ECD769
Tritanopia (blue-blind)
#EACEC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda62;
/* rgb */ color: rgb(220, 218, 98);
/* oklch */ color: oklch(86.7% 0.142 108.1);
Tailwind
colors: {
  custom: {
    50: '#e9e592',
    500: '#dcda62',
    950: '#000000',
  },
}
SCSS
$custom: #dcda62;
$custom-light: #e9e592;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda62",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 98
  },
  "hsl": {
    "h": 59.016,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86662,
    "c": 0.14197,
    "h": 108.1
  },
  "luminance": 0.6624
}

Semantic roles & 50–950 ramp

primary
#DCDA62
secondary
#3F40A3
accent
#1DCB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDA62

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

Preview Lab → · Contrast checker → · Palette generator →

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