#DCDA7E#DCDA7E

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

Color values

HEX#DCDA7E
RGBrgb(220, 218, 126)
HSLhsl(59, 57%, 68%)
HSVhsv(59, 43%, 86%)
CMYKcmyk(0%, 0.9%, 42.7%, 13.7%)
CIE-LABlab(85.44, -12.27, 45.38)
CIE-LCHlch(85.44, 47.01, 105.13°)
OKLaboklab(87.02% -0.0344 0.1094)
OKLCHoklch(87.02% 0.115 107.5)
XYZxyz(58.3536, 66.8662, 29.5671)
Luminance0.6686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA7E #7E80DC
analogous
#DCAB7E #DCDA7E #AFDC7E
triadic
#DCDA7E #7EDCDA #DA7EDC
tetradic
#DCDA7E #7EDCAB #7E80DC #DC7EAF
square
#DCDA7E #7EDCAB #7E80DC #DC7EAF
split-complementary
#DCDA7E #7EAFDC #AB7EDC
monochromatic
#B0AD30 #CFCC4E #DCDA7E #E9E8AE #F6F6DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDA7E#FFFFFF#000000##000000
##DCDA7E1.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)
#E8D377
Deuteranopia (green-blind)
#E9D782
Tritanopia (blue-blind)
#E8CFC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda7e;
/* rgb */ color: rgb(220, 218, 126);
/* oklch */ color: oklch(87.0% 0.115 107.5);
Tailwind
colors: {
  custom: {
    50: '#e8e5a5',
    500: '#dcda7e',
    950: '#000000',
  },
}
SCSS
$custom: #dcda7e;
$custom-light: #e8e5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda7e",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 126
  },
  "hsl": {
    "h": 58.723,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87017,
    "c": 0.1147,
    "h": 107.5
  },
  "luminance": 0.66865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCDA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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