#DCD94D#DCD94D

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

Color values

HEX#DCD94D
RGBrgb(220, 217, 77)
HSLhsl(59, 67%, 58%)
HSVhsv(59, 65%, 86%)
CMYKcmyk(0%, 1.4%, 65%, 13.7%)
CIE-LABlab(84.68, -15.62, 66.51)
CIE-LCHlch(84.68, 68.32, 103.22°)
OKLaboklab(86.25% -0.049 0.1498)
OKLCHoklch(86.25% 0.158 108.1)
XYZxyz(55.6695, 65.3789, 16.7067)
Luminance0.6538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD94D #4D50DC
analogous
#DC914D #DCD94D #97DC4D
triadic
#DCD94D #4DDCD9 #D94DDC
tetradic
#DCD94D #4DDC91 #4D50DC #DC4D97
square
#DCD94D #4DDC91 #4D50DC #DC4D97
split-complementary
#DCD94D #4D97DC #914DDC
monochromatic
#928F1D #C5C227 #DCD94D #E6E480 #F0EFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD94D#FFFFFF#000000##000000
##DCD94D1.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)
#EAD13A
Deuteranopia (green-blind)
#EDD656
Tritanopia (blue-blind)
#EBCCBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd94d;
/* rgb */ color: rgb(220, 217, 77);
/* oklch */ color: oklch(86.3% 0.158 108.1);
Tailwind
colors: {
  custom: {
    50: '#eae486',
    500: '#dcd94d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd94d;
$custom-light: #eae486;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd94d",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 58.741,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86254,
    "c": 0.15761,
    "h": 108.1
  },
  "luminance": 0.65377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD94D

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

Preview Lab → · Contrast checker → · Palette generator →

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