#DCDC5B#DCDC5B

#DCDC5B is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.0% C 0.150 H 109.2°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#DCDC5B
RGBrgb(220, 220, 91)
HSLhsl(60, 65%, 61%)
HSVhsv(60, 59%, 86%)
CMYKcmyk(0%, 0%, 58.6%, 13.7%)
CIE-LABlab(85.58, -16.22, 61.73)
CIE-LCHlch(85.58, 63.82, 104.72°)
OKLaboklab(87.01% -0.0492 0.1417)
OKLCHoklch(87.01% 0.15 109.2)
XYZxyz(56.9984, 67.1589, 19.8560)
Luminance0.6716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC5B #5B5BDC
analogous
#DC9B5B #DCDC5B #9BDC5B
triadic
#DCDC5B #5BDCDC #DC5BDC
tetradic
#DCDC5B #5BDC9B #5B5BDC #DC5B9B
square
#DCDC5B #5BDC9B #5B5BDC #DC5B9B
split-complementary
#DCDC5B #5B9BDC #9B5BDC
monochromatic
#9B9B21 #CECE2C #DCDC5B #E7E78D #F2F2C0

Accessibility & contrast

On white

1.46
#DCDC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#DCDC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC5B
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC5B#FFFFFF#000000##000000
##DCDC5B1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD44C
Deuteranopia (green-blind)
#EED863
Tritanopia (blue-blind)
#EACFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc5b;
/* rgb */ color: rgb(220, 220, 91);
/* oklch */ color: oklch(87.0% 0.150 109.2);
Tailwind
colors: {
  custom: {
    50: '#eae68e',
    500: '#dcdc5b',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc5b;
$custom-light: #eae68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc5b",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87012,
    "c": 0.14998,
    "h": 109.2
  },
  "luminance": 0.67157
}

Semantic roles & 50–950 ramp

primary
#DCDC5B
secondary
#3C3C9F
accent
#19CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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