#DCD773#DCD773

#DCD773 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.2% C 0.123 H 106.2°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#DCD773
RGBrgb(220, 215, 115)
HSLhsl(57, 60%, 66%)
HSVhsv(57, 48%, 86%)
CMYKcmyk(0%, 2.3%, 47.7%, 13.7%)
CIE-LABlab(84.51, -11.82, 49.58)
CIE-LCHlch(84.51, 50.96, 103.41°)
OKLaboklab(86.24% -0.0342 0.1179)
OKLCHoklch(86.24% 0.123 106.2)
XYZxyz(56.9115, 65.0559, 25.7754)
Luminance0.6505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD773 #7378DC
analogous
#DCA273 #DCD773 #ACDC73
triadic
#DCD773 #73DCD7 #D773DC
tetradic
#DCD773 #73DCA2 #7378DC #DC73AC
square
#DCD773 #73DCA2 #7378DC #DC73AC
split-complementary
#DCD773 #73ACDC #A273DC
monochromatic
#AAA42B #D0C942 #DCD773 #E8E5A4 #F4F3D5

Accessibility & contrast

On white

1.50
#DCD773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#DCD773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD773
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD773#FFFFFF#000000##000000
##DCD7731.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D06A
Deuteranopia (green-blind)
#E8D578
Tritanopia (blue-blind)
#E9CCC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd773;
/* rgb */ color: rgb(220, 215, 115);
/* oklch */ color: oklch(86.2% 0.123 106.2);
Tailwind
colors: {
  custom: {
    50: '#e9e39d',
    500: '#dcd773',
    950: '#000000',
  },
}
SCSS
$custom: #dcd773;
$custom-light: #e9e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd773",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 115
  },
  "hsl": {
    "h": 57.143,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86238,
    "c": 0.12279,
    "h": 106.2
  },
  "luminance": 0.65054
}

Semantic roles & 50–950 ramp

primary
#DCD773
secondary
#474BAD
accent
#26C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD773

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

Preview Lab → · Contrast checker → · Palette generator →

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