#DCDA7A#DCDA7A

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

Color values

HEX#DCDA7A
RGBrgb(220, 218, 122)
HSLhsl(59, 58%, 67%)
HSVhsv(59, 45%, 86%)
CMYKcmyk(0%, 0.9%, 44.5%, 13.7%)
CIE-LABlab(85.39, -12.66, 47.26)
CIE-LCHlch(85.39, 48.93, 105.00°)
OKLaboklab(86.96% -0.0359 0.1134)
OKLCHoklch(86.96% 0.119 107.6)
XYZxyz(58.1006, 66.7650, 28.2349)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA7A #7A7CDC
analogous
#DCA97A #DCDA7A #ADDC7A
triadic
#DCDA7A #7ADCDA #DA7ADC
tetradic
#DCDA7A #7ADCA9 #7A7CDC #DC7AAD
square
#DCDA7A #7ADCA9 #7A7CDC #DC7AAD
split-complementary
#DCDA7A #7AADDC #A97ADC
monochromatic
#AEAB2E #CFCD4A #DCDA7A #E9E7AA #F6F5DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDA7A#FFFFFF#000000##000000
##DCDA7A1.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)
#E8D372
Deuteranopia (green-blind)
#EAD77E
Tritanopia (blue-blind)
#E8CFC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda7a;
/* rgb */ color: rgb(220, 218, 122);
/* oklch */ color: oklch(87.0% 0.119 107.6);
Tailwind
colors: {
  custom: {
    50: '#e8e5a2',
    500: '#dcda7a',
    950: '#000000',
  },
}
SCSS
$custom: #dcda7a;
$custom-light: #e8e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda7a",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 122
  },
  "hsl": {
    "h": 58.776,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8696,
    "c": 0.11891,
    "h": 107.6
  },
  "luminance": 0.66764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCDA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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