#DCD94F#DCD94F

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

Color values

HEX#DCD94F
RGBrgb(220, 217, 79)
HSLhsl(59, 67%, 59%)
HSVhsv(59, 64%, 86%)
CMYKcmyk(0%, 1.4%, 64.1%, 13.7%)
CIE-LABlab(84.69, -15.50, 65.74)
CIE-LCHlch(84.69, 67.54, 103.27°)
OKLaboklab(86.27% -0.0484 0.1485)
OKLCHoklch(86.27% 0.156 108.1)
XYZxyz(55.7412, 65.4076, 17.0843)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD94F #4F52DC
analogous
#DC924F #DCD94F #98DC4F
triadic
#DCD94F #4FDCD9 #D94FDC
tetradic
#DCD94F #4FDC92 #4F52DC #DC4F98
square
#DCD94F #4FDC92 #4F52DC #DC4F98
split-complementary
#DCD94F #4F98DC #924FDC
monochromatic
#93911D #C6C327 #DCD94F #E6E482 #F0EFB5

Accessibility & contrast

On white

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

On black

14.08
#DCD94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD94F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD94F#FFFFFF#000000##000000
##DCD94F1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13D
Deuteranopia (green-blind)
#ECD658
Tritanopia (blue-blind)
#EBCCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd94f;
/* rgb */ color: rgb(220, 217, 79);
/* oklch */ color: oklch(86.3% 0.156 108.1);
Tailwind
colors: {
  custom: {
    50: '#eae487',
    500: '#dcd94f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd94f;
$custom-light: #eae487;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd94f",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 58.723,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86271,
    "c": 0.15618,
    "h": 108.1
  },
  "luminance": 0.65406
}

Semantic roles & 50–950 ramp

primary
#DCD94F
secondary
#373998
accent
#42EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD94F

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

Preview Lab → · Contrast checker → · Palette generator →

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