#DCDA4F#DCDA4F

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

Color values

HEX#DCDA4F
RGBrgb(220, 218, 79)
HSLhsl(59, 67%, 59%)
HSVhsv(59, 64%, 86%)
CMYKcmyk(0%, 0.9%, 64.1%, 13.7%)
CIE-LABlab(84.96, -16.00, 66.01)
CIE-LCHlch(84.96, 67.92, 103.62°)
OKLaboklab(86.48% -0.0498 0.1491)
OKLCHoklch(86.48% 0.157 108.5)
XYZxyz(55.9998, 65.9246, 17.1705)
Luminance0.6592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA4F #4F51DC
analogous
#DC934F #DCDA4F #97DC4F
triadic
#DCDA4F #4FDCDA #DA4FDC
tetradic
#DCDA4F #4FDC93 #4F51DC #DC4F97
square
#DCDA4F #4FDC93 #4F51DC #DC4F97
split-complementary
#DCDA4F #4F97DC #934FDC
monochromatic
#93921D #C6C427 #DCDA4F #E6E582 #F0EFB5

Accessibility & contrast

On white

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

On black

14.18
#DCDA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA4F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA4F#FFFFFF#000000##000000
##DCDA4F1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13C
Deuteranopia (green-blind)
#EDD658
Tritanopia (blue-blind)
#EBCDBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcda4f;
/* rgb */ color: rgb(220, 218, 79);
/* oklch */ color: oklch(86.5% 0.157 108.5);
Tailwind
colors: {
  custom: {
    50: '#eae587',
    500: '#dcda4f',
    950: '#000000',
  },
}
SCSS
$custom: #dcda4f;
$custom-light: #eae587;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda4f",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 59.149,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86482,
    "c": 0.15717,
    "h": 108.5
  },
  "luminance": 0.65923
}

Semantic roles & 50–950 ramp

primary
#DCDA4F
secondary
#373998
accent
#41EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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