#DCD774#DCD774

#DCD774 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.3% C 0.122 H 106.1°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#DCD774
RGBrgb(220, 215, 116)
HSLhsl(57, 60%, 66%)
HSVhsv(57, 47%, 86%)
CMYKcmyk(0%, 2.3%, 47.3%, 13.7%)
CIE-LABlab(84.52, -11.72, 49.11)
CIE-LCHlch(84.52, 50.49, 103.43°)
OKLaboklab(86.25% -0.0338 0.117)
OKLCHoklch(86.25% 0.122 106.1)
XYZxyz(56.9693, 65.0790, 26.0801)
Luminance0.6508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD774 #7479DC
analogous
#DCA374 #DCD774 #ADDC74
triadic
#DCD774 #74DCD7 #D774DC
tetradic
#DCD774 #74DCA3 #7479DC #DC74AD
square
#DCD774 #74DCA3 #7479DC #DC74AD
split-complementary
#DCD774 #74ADDC #A374DC
monochromatic
#ABA42B #D0C943 #DCD774 #E8E5A5 #F5F3D6

Accessibility & contrast

On white

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

On black

14.02
#DCD774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD774
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD774#FFFFFF#000000##000000
##DCD7741.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd774;
/* rgb */ color: rgb(220, 215, 116);
/* oklch */ color: oklch(86.3% 0.122 106.1);
Tailwind
colors: {
  custom: {
    50: '#e9e39e',
    500: '#dcd774',
    950: '#000000',
  },
}
SCSS
$custom: #dcd774;
$custom-light: #e9e39e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd774",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 57.115,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86251,
    "c": 0.12178,
    "h": 106.1
  },
  "luminance": 0.65077
}

Semantic roles & 50–950 ramp

primary
#DCD774
secondary
#474CAD
accent
#26C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD774

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

Preview Lab → · Contrast checker → · Palette generator →

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