#DCDA7D#DCDA7D

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

Color values

HEX#DCDA7D
RGBrgb(220, 218, 125)
HSLhsl(59, 58%, 68%)
HSVhsv(59, 43%, 86%)
CMYKcmyk(0%, 0.9%, 43.2%, 13.7%)
CIE-LABlab(85.42, -12.37, 45.85)
CIE-LCHlch(85.42, 47.49, 105.09°)
OKLaboklab(87% -0.0348 0.1104)
OKLCHoklch(87% 0.116 107.5)
XYZxyz(58.2894, 66.8405, 29.2290)
Luminance0.6684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA7D #7D7FDC
analogous
#DCAB7D #DCDA7D #AEDC7D
triadic
#DCDA7D #7DDCDA #DA7DDC
tetradic
#DCDA7D #7DDCAB #7D7FDC #DC7DAE
square
#DCDA7D #7DDCAB #7D7FDC #DC7DAE
split-complementary
#DCDA7D #7DAEDC #AB7DDC
monochromatic
#AFAD2F #CFCC4D #DCDA7D #E9E8AD #F6F5DD

Accessibility & contrast

On white

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

On black

14.37
#DCDA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA7D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA7D#FFFFFF#000000##000000
##DCDA7D1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D375
Deuteranopia (green-blind)
#EAD781
Tritanopia (blue-blind)
#E8CFC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda7d;
/* rgb */ color: rgb(220, 218, 125);
/* oklch */ color: oklch(87.0% 0.116 107.5);
Tailwind
colors: {
  custom: {
    50: '#e8e5a4',
    500: '#dcda7d',
    950: '#000000',
  },
}
SCSS
$custom: #dcda7d;
$custom-light: #e8e5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda7d",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 125
  },
  "hsl": {
    "h": 58.737,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87002,
    "c": 0.11576,
    "h": 107.5
  },
  "luminance": 0.66839
}

Semantic roles & 50–950 ramp

primary
#DCDA7D
secondary
#4C4EB2
accent
#24C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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