#DCDA5D#DCDA5D

#DCDA5D is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.6% C 0.146 H 108.2°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DCDA5D
RGBrgb(220, 218, 93)
HSLhsl(59, 64%, 61%)
HSVhsv(59, 58%, 86%)
CMYKcmyk(0%, 0.9%, 57.7%, 13.7%)
CIE-LABlab(85.07, -15.09, 60.31)
CIE-LCHlch(85.07, 62.16, 104.05°)
OKLaboklab(86.61% -0.0458 0.1389)
OKLCHoklch(86.61% 0.146 108.2)
XYZxyz(56.5641, 66.1504, 20.1425)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA5D #5D5FDC
analogous
#DC9B5D #DCDA5D #9FDC5D
triadic
#DCDA5D #5DDCDA #DA5DDC
tetradic
#DCDA5D #5DDC9B #5D5FDC #DC5D9F
square
#DCDA5D #5DDC9B #5D5FDC #DC5D9F
split-complementary
#DCDA5D #5D9FDC #9B5DDC
monochromatic
#9D9B22 #CFCD2D #DCDA5D #E7E58F #F2F1C2

Accessibility & contrast

On white

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

On black

14.23
#DCDA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA5D
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA5D#FFFFFF#000000##000000
##DCDA5D1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24F
Deuteranopia (green-blind)
#ECD764
Tritanopia (blue-blind)
#EACDBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcda5d;
/* rgb */ color: rgb(220, 218, 93);
/* oklch */ color: oklch(86.6% 0.146 108.2);
Tailwind
colors: {
  custom: {
    50: '#eae58f',
    500: '#dcda5d',
    950: '#000000',
  },
}
SCSS
$custom: #dcda5d;
$custom-light: #eae58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda5d",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 93
  },
  "hsl": {
    "h": 59.055,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8661,
    "c": 0.14625,
    "h": 108.2
  },
  "luminance": 0.66149
}

Semantic roles & 50–950 ramp

primary
#DCDA5D
secondary
#3D3EA1
accent
#1CCC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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