#DCDA7F#DCDA7F

#DCDA7F is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.114 H 107.4°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#DCDA7F
RGBrgb(220, 218, 127)
HSLhsl(59, 57%, 68%)
HSVhsv(59, 42%, 86%)
CMYKcmyk(0%, 0.9%, 42.3%, 13.7%)
CIE-LABlab(85.45, -12.17, 44.90)
CIE-LCHlch(85.45, 46.52, 105.16°)
OKLaboklab(87.03% -0.0341 0.1084)
OKLCHoklch(87.03% 0.114 107.4)
XYZxyz(58.4184, 66.8921, 29.9087)
Luminance0.6689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA7F #7F81DC
analogous
#DCAB7F #DCDA7F #AFDC7F
triadic
#DCDA7F #7FDCDA #DA7FDC
tetradic
#DCDA7F #7FDCAB #7F81DC #DC7FAF
square
#DCDA7F #7FDCAB #7F81DC #DC7FAF
split-complementary
#DCDA7F #7FAFDC #AB7FDC
monochromatic
#B0AE30 #CFCC4F #DCDA7F #E9E8AF #F6F6DF

Accessibility & contrast

On white

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

On black

14.38
#DCDA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA7F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA7F#FFFFFF#000000##000000
##DCDA7F1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D378
Deuteranopia (green-blind)
#E9D783
Tritanopia (blue-blind)
#E8D0C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda7f;
/* rgb */ color: rgb(220, 218, 127);
/* oklch */ color: oklch(87.0% 0.114 107.4);
Tailwind
colors: {
  custom: {
    50: '#e8e5a5',
    500: '#dcda7f',
    950: '#000000',
  },
}
SCSS
$custom: #dcda7f;
$custom-light: #e8e5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda7f",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 127
  },
  "hsl": {
    "h": 58.71,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87032,
    "c": 0.11363,
    "h": 107.4
  },
  "luminance": 0.66891
}

Semantic roles & 50–950 ramp

primary
#DCDA7F
secondary
#4D4FB2
accent
#24C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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