#DCCD7E#DCCD7E

#DCCD7E is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.3% C 0.101 H 98.8°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#DCCD7E
RGBrgb(220, 205, 126)
HSLhsl(50, 57%, 68%)
HSVhsv(50, 43%, 86%)
CMYKcmyk(0%, 6.8%, 42.7%, 13.7%)
CIE-LABlab(82.05, -5.68, 41.13)
CIE-LCHlch(82.05, 41.52, 97.86°)
OKLaboklab(84.33% -0.0155 0.0999)
OKLCHoklch(84.33% 0.101 98.8)
XYZxyz(55.1137, 60.3864, 28.4872)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCD7E #7E8DDC
analogous
#DC9E7E #DCCD7E #BCDC7E
triadic
#DCCD7E #7EDCCD #CD7EDC
tetradic
#DCCD7E #7EDC9E #7E8DDC #DC7EBC
square
#DCCD7E #7EDC9E #7E8DDC #DC7EBC
split-complementary
#DCCD7E #7EBCDC #9E7EDC
monochromatic
#B09B30 #CFBA4E #DCCD7E #E9E0AE #F6F2DE

Accessibility & contrast

On white

1.61
#DCCD7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#DCCD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCD7E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCD7E#FFFFFF#000000##000000
##DCCD7E1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC978
Deuteranopia (green-blind)
#DFCF81
Tritanopia (blue-blind)
#E9C3BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dccd7e;
/* rgb */ color: rgb(220, 205, 126);
/* oklch */ color: oklch(84.3% 0.101 98.8);
Tailwind
colors: {
  custom: {
    50: '#e8dca4',
    500: '#dccd7e',
    950: '#000000',
  },
}
SCSS
$custom: #dccd7e;
$custom-light: #e8dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#dccd7e",
  "rgb": {
    "r": 220,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 50.426,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84329,
    "c": 0.10104,
    "h": 98.8
  },
  "luminance": 0.60385
}

Semantic roles & 50–950 ramp

primary
#DCCD7E
secondary
#4C5CB2
accent
#3BC521
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCCD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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