#DCDA79#DCDA79

#DCDA79 is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 86.9% C 0.120 H 107.6°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#DCDA79
RGBrgb(220, 218, 121)
HSLhsl(59, 59%, 67%)
HSVhsv(59, 45%, 86%)
CMYKcmyk(0%, 0.9%, 45%, 13.7%)
CIE-LABlab(85.37, -12.76, 47.73)
CIE-LCHlch(85.37, 49.41, 104.96°)
OKLaboklab(86.95% -0.0363 0.1143)
OKLCHoklch(86.95% 0.12 107.6)
XYZxyz(58.0390, 66.7403, 27.9103)
Luminance0.6674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA79 #797BDC
analogous
#DCA979 #DCDA79 #ADDC79
triadic
#DCDA79 #79DCDA #DA79DC
tetradic
#DCDA79 #79DCA9 #797BDC #DC79AD
square
#DCDA79 #79DCA9 #797BDC #DC79AD
split-complementary
#DCDA79 #79ADDC #A979DC
monochromatic
#ADAB2D #CFCD48 #DCDA79 #E9E7AA #F5F5DA

Accessibility & contrast

On white

1.46
#DCDA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#DCDA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA79
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA79#FFFFFF#000000##000000
##DCDA791.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D371
Deuteranopia (green-blind)
#EAD77E
Tritanopia (blue-blind)
#E8CFC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda79;
/* rgb */ color: rgb(220, 218, 121);
/* oklch */ color: oklch(86.9% 0.120 107.6);
Tailwind
colors: {
  custom: {
    50: '#e8e5a1',
    500: '#dcda79',
    950: '#000000',
  },
}
SCSS
$custom: #dcda79;
$custom-light: #e8e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda79",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 121
  },
  "hsl": {
    "h": 58.788,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86946,
    "c": 0.11994,
    "h": 107.6
  },
  "luminance": 0.66739
}

Semantic roles & 50–950 ramp

primary
#DCDA79
secondary
#4A4CB0
accent
#23C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDA79

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

Preview Lab → · Contrast checker → · Palette generator →

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