#DCD07C#DCD07C

#DCD07C is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 84.9% C 0.106 H 101.2°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#DCD07C
RGBrgb(220, 208, 124)
HSLhsl(53, 58%, 67%)
HSVhsv(53, 44%, 86%)
CMYKcmyk(0%, 5.5%, 43.6%, 13.7%)
CIE-LABlab(82.80, -7.41, 43.07)
CIE-LCHlch(82.80, 43.71, 99.77°)
OKLaboklab(84.92% -0.0207 0.1041)
OKLCHoklch(84.92% 0.106 101.2)
XYZxyz(55.7104, 61.7843, 28.0558)
Luminance0.6178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD07C #7C88DC
analogous
#DCA07C #DCD07C #B8DC7C
triadic
#DCD07C #7CDCD0 #D07CDC
tetradic
#DCD07C #7CDCA0 #7C88DC #DC7CB8
square
#DCD07C #7CDCA0 #7C88DC #DC7CB8
split-complementary
#DCD07C #7CB8DC #A07CDC
monochromatic
#AF9F2F #CFBF4C #DCD07C #E9E1AC #F6F3DD

Accessibility & contrast

On white

1.57
#DCD07C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#DCD07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD07C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD07C#FFFFFF#000000##000000
##DCD07C1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB75
Deuteranopia (green-blind)
#E2D17F
Tritanopia (blue-blind)
#E9C5BC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd07c;
/* rgb */ color: rgb(220, 208, 124);
/* oklch */ color: oklch(84.9% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#e8dea3',
    500: '#dcd07c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd07c;
$custom-light: #e8dea3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd07c",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 124
  },
  "hsl": {
    "h": 52.5,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84915,
    "c": 0.10615,
    "h": 101.2
  },
  "luminance": 0.61783
}

Semantic roles & 50–950 ramp

primary
#DCD07C
secondary
#4B58B1
accent
#35C520
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD07C

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

Preview Lab → · Contrast checker → · Palette generator →

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