#DCD94C#DCD94C

#DCD94C is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.2% C 0.158 H 108.1°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#DCD94C
RGBrgb(220, 217, 76)
HSLhsl(59, 67%, 58%)
HSVhsv(59, 65%, 86%)
CMYKcmyk(0%, 1.4%, 65.5%, 13.7%)
CIE-LABlab(84.67, -15.68, 66.90)
CIE-LCHlch(84.67, 68.71, 103.19°)
OKLaboklab(86.25% -0.0492 0.1505)
OKLCHoklch(86.25% 0.158 108.1)
XYZxyz(55.6345, 65.3649, 16.5221)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD94C #4C4FDC
analogous
#DC914C #DCD94C #97DC4C
triadic
#DCD94C #4CDCD9 #D94CDC
tetradic
#DCD94C #4CDC91 #4C4FDC #DC4C97
square
#DCD94C #4CDC91 #4C4FDC #DC4C97
split-complementary
#DCD94C #4C97DC #914CDC
monochromatic
#918F1C #C4C126 #DCD94C #E6E47F #F0EFB2

Accessibility & contrast

On white

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

On black

14.07
#DCD94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD94C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD94C#FFFFFF#000000##000000
##DCD94C1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD138
Deuteranopia (green-blind)
#EDD655
Tritanopia (blue-blind)
#EBCBBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd94c;
/* rgb */ color: rgb(220, 217, 76);
/* oklch */ color: oklch(86.2% 0.158 108.1);
Tailwind
colors: {
  custom: {
    50: '#eae485',
    500: '#dcd94c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd94c;
$custom-light: #eae485;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd94c",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 58.75,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.86246,
    "c": 0.15831,
    "h": 108.1
  },
  "luminance": 0.65363
}

Semantic roles & 50–950 ramp

primary
#DCD94C
secondary
#363896
accent
#41EA3E
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD94C

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

Preview Lab → · Contrast checker → · Palette generator →

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