#DCDA71#DCDA71

#DCDA71 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.8% C 0.128 H 107.8°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#DCDA71
RGBrgb(220, 218, 113)
HSLhsl(59, 60%, 65%)
HSVhsv(59, 49%, 86%)
CMYKcmyk(0%, 0.9%, 48.6%, 13.7%)
CIE-LABlab(85.28, -13.50, 51.45)
CIE-LCHlch(85.28, 53.19, 104.70°)
OKLaboklab(86.84% -0.0392 0.1219)
OKLCHoklch(86.84% 0.128 107.8)
XYZxyz(57.5686, 66.5522, 25.4329)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA71 #7173DC
analogous
#DCA571 #DCDA71 #A8DC71
triadic
#DCDA71 #71DCDA #DA71DC
tetradic
#DCDA71 #71DCA5 #7173DC #DC71A8
square
#DCDA71 #71DCA5 #7173DC #DC71A8
split-complementary
#DCDA71 #71A8DC #A571DC
monochromatic
#A9A72A #D0CD40 #DCDA71 #E8E7A2 #F4F4D3

Accessibility & contrast

On white

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

On black

14.31
#DCDA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA71
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA71#FFFFFF#000000##000000
##DCDA711.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D368
Deuteranopia (green-blind)
#EBD776
Tritanopia (blue-blind)
#E9CFC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda71;
/* rgb */ color: rgb(220, 218, 113);
/* oklch */ color: oklch(86.8% 0.128 107.8);
Tailwind
colors: {
  custom: {
    50: '#e9e59c',
    500: '#dcda71',
    950: '#000000',
  },
}
SCSS
$custom: #dcda71;
$custom-light: #e9e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda71",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 113
  },
  "hsl": {
    "h": 58.879,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86839,
    "c": 0.12802,
    "h": 107.8
  },
  "luminance": 0.66551
}

Semantic roles & 50–950 ramp

primary
#DCDA71
secondary
#4647AC
accent
#21C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDA71

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

Preview Lab → · Contrast checker → · Palette generator →

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