#DCDA3C#DCDA3C

#DCDA3C is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.3% C 0.169 H 108.7°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#DCDA3C
RGBrgb(220, 218, 60)
HSLhsl(59, 70%, 55%)
HSVhsv(59, 73%, 86%)
CMYKcmyk(0%, 0.9%, 72.7%, 13.7%)
CIE-LABlab(84.84, -16.96, 72.83)
CIE-LCHlch(84.84, 74.78, 103.11°)
OKLaboklab(86.35% -0.0544 0.1603)
OKLCHoklch(86.35% 0.169 108.7)
XYZxyz(55.4043, 65.6864, 14.0344)
Luminance0.6569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA3C #3C3EDC
analogous
#DC8A3C #DCDA3C #8EDC3C
triadic
#DCDA3C #3CDCDA #DA3CDC
tetradic
#DCDA3C #3CDC8A #3C3EDC #DC3C8E
square
#DCDA3C #3CDC8A #3C3EDC #DC3C8E
split-complementary
#DCDA3C #3C8EDC #8A3CDC
monochromatic
#868418 #BAB821 #DCDA3C #E5E470 #EFEEA4

Accessibility & contrast

On white

1.49
#DCDA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#DCDA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA3C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA3C#FFFFFF#000000##000000
##DCDA3C1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD11B
Deuteranopia (green-blind)
#EED648
Tritanopia (blue-blind)
#ECCCBC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcda3c;
/* rgb */ color: rgb(220, 218, 60);
/* oklch */ color: oklch(86.3% 0.169 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe57d',
    500: '#dcda3c',
    950: '#000000',
  },
}
SCSS
$custom: #dcda3c;
$custom-light: #ebe57d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda3c",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 60
  },
  "hsl": {
    "h": 59.25,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.86346,
    "c": 0.16928,
    "h": 108.7
  },
  "luminance": 0.65685
}

Semantic roles & 50–950 ramp

primary
#DCDA3C
secondary
#30318C
accent
#3EEC3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCDA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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