#DCDA3B#DCDA3B

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

Color values

HEX#DCDA3B
RGBrgb(220, 218, 59)
HSLhsl(59, 70%, 55%)
HSVhsv(59, 73%, 86%)
CMYKcmyk(0%, 0.9%, 73.2%, 13.7%)
CIE-LABlab(84.83, -17.01, 73.15)
CIE-LCHlch(84.83, 75.10, 103.09°)
OKLaboklab(86.34% -0.0546 0.1608)
OKLCHoklch(86.34% 0.17 108.7)
XYZxyz(55.3781, 65.6760, 13.8964)
Luminance0.6567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA3B #3B3DDC
analogous
#DC8A3B #DCDA3B #8DDC3B
triadic
#DCDA3B #3BDCDA #DA3BDC
tetradic
#DCDA3B #3BDC8A #3B3DDC #DC3B8D
square
#DCDA3B #3BDC8A #3B3DDC #DC3B8D
split-complementary
#DCDA3B #3B8DDC #8A3BDC
monochromatic
#858418 #B9B721 #DCDA3B #E5E46F #EFEEA3

Accessibility & contrast

On white

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

On black

14.13
#DCDA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA3B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA3B#FFFFFF#000000##000000
##DCDA3B1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcda3b;
/* rgb */ color: rgb(220, 218, 59);
/* oklch */ color: oklch(86.3% 0.170 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe57d',
    500: '#dcda3b',
    950: '#000000',
  },
}
SCSS
$custom: #dcda3b;
$custom-light: #ebe57d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda3b",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 59
  },
  "hsl": {
    "h": 59.255,
    "s": 69.697,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8634,
    "c": 0.16983,
    "h": 108.7
  },
  "luminance": 0.65674
}

Semantic roles & 50–950 ramp

primary
#DCDA3B
secondary
#30318B
accent
#3DED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCDA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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