#DCDC6B#DCDC6B

#DCDC6B is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.136 H 108.9°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#DCDC6B
RGBrgb(220, 220, 107)
HSLhsl(60, 62%, 64%)
HSVhsv(60, 51%, 86%)
CMYKcmyk(0%, 0%, 51.4%, 13.7%)
CIE-LABlab(85.74, -15.01, 54.79)
CIE-LCHlch(85.74, 56.81, 105.32°)
OKLaboklab(87.19% -0.0441 0.1286)
OKLCHoklch(87.19% 0.136 108.9)
XYZxyz(57.7636, 67.4650, 23.8863)
Luminance0.6746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC6B #6B6BDC
analogous
#DCA46B #DCDC6B #A4DC6B
triadic
#DCDC6B #6BDCDC #DC6BDC
tetradic
#DCDC6B #6BDCA4 #6B6BDC #DC6BA4
square
#DCDC6B #6BDCA4 #6B6BDC #DC6BA4
split-complementary
#DCDC6B #6BA4DC #A46BDC
monochromatic
#A5A527 #D0D03A #DCDC6B #E8E89C #F3F3CE

Accessibility & contrast

On white

1.45
#DCDC6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#DCDC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC6B
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC6B#FFFFFF#000000##000000
##DCDC6B1.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD460
Deuteranopia (green-blind)
#EDD871
Tritanopia (blue-blind)
#E9D0C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc6b;
/* rgb */ color: rgb(220, 220, 107);
/* oklch */ color: oklch(87.2% 0.136 108.9);
Tailwind
colors: {
  custom: {
    50: '#e9e698',
    500: '#dcdc6b',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc6b;
$custom-light: #e9e698;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc6b",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 107
  },
  "hsl": {
    "h": 60,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87185,
    "c": 0.13595,
    "h": 108.9
  },
  "luminance": 0.67464
}

Semantic roles & 50–950 ramp

primary
#DCDC6B
secondary
#4343A8
accent
#1CC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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