#DCD66B#DCD66B

#DCD66B is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.9% C 0.130 H 105.9°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DCD66B
RGBrgb(220, 214, 107)
HSLhsl(57, 62%, 64%)
HSVhsv(57, 51%, 86%)
CMYKcmyk(0%, 2.7%, 51.4%, 13.7%)
CIE-LABlab(84.16, -12.01, 52.94)
CIE-LCHlch(84.16, 54.29, 102.78°)
OKLaboklab(85.93% -0.0355 0.1246)
OKLCHoklch(85.93% 0.13 105.9)
XYZxyz(56.2171, 64.3720, 23.3708)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD66B #6B71DC
analogous
#DC9E6B #DCD66B #AADC6B
triadic
#DCD66B #6BDCD6 #D66BDC
tetradic
#DCD66B #6BDC9E #6B71DC #DC6BAA
square
#DCD66B #6BDC9E #6B71DC #DC6BAA
split-complementary
#DCD66B #6BAADC #9E6BDC
monochromatic
#A59F27 #D0C83A #DCD66B #E8E49C #F3F1CE

Accessibility & contrast

On white

1.51
#DCD66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#DCD66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD66B
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD66B#FFFFFF#000000##000000
##DCD66B1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF61
Deuteranopia (green-blind)
#E8D470
Tritanopia (blue-blind)
#EACABE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd66b;
/* rgb */ color: rgb(220, 214, 107);
/* oklch */ color: oklch(85.9% 0.130 105.9);
Tailwind
colors: {
  custom: {
    50: '#e9e298',
    500: '#dcd66b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd66b;
$custom-light: #e9e298;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd66b",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 107
  },
  "hsl": {
    "h": 56.814,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85928,
    "c": 0.12957,
    "h": 105.9
  },
  "luminance": 0.6437
}

Semantic roles & 50–950 ramp

primary
#DCD66B
secondary
#4348A8
accent
#25C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD66B

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

Preview Lab → · Contrast checker → · Palette generator →

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