#DCD07D#DCD07D

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

Color values

HEX#DCD07D
RGBrgb(220, 208, 125)
HSLhsl(52, 58%, 68%)
HSVhsv(52, 43%, 86%)
CMYKcmyk(0%, 5.5%, 43.2%, 13.7%)
CIE-LABlab(82.81, -7.31, 42.59)
CIE-LCHlch(82.81, 43.22, 99.74°)
OKLaboklab(84.93% -0.0203 0.1031)
OKLCHoklch(84.93% 0.105 101.1)
XYZxyz(55.7740, 61.8098, 28.3906)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD07D #7D89DC
analogous
#DCA07D #DCD07D #B9DC7D
triadic
#DCD07D #7DDCD0 #D07DDC
tetradic
#DCD07D #7DDCA0 #7D89DC #DC7DB9
square
#DCD07D #7DDCA0 #7D89DC #DC7DB9
split-complementary
#DCD07D #7DB9DC #A07DDC
monochromatic
#AF9F2F #CFBF4D #DCD07D #E9E1AD #F6F3DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD07D#FFFFFF#000000##000000
##DCD07D1.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)
#DECB76
Deuteranopia (green-blind)
#E2D180
Tritanopia (blue-blind)
#E9C5BC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd07d;
/* rgb */ color: rgb(220, 208, 125);
/* oklch */ color: oklch(84.9% 0.105 101.1);
Tailwind
colors: {
  custom: {
    50: '#e8dea4',
    500: '#dcd07d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd07d;
$custom-light: #e8dea4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd07d",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 125
  },
  "hsl": {
    "h": 52.421,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8493,
    "c": 0.10508,
    "h": 101.1
  },
  "luminance": 0.61808
}

Semantic roles & 50–950 ramp

primary
#DCD07D
secondary
#4C58B2
accent
#35C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD07D

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

Preview Lab → · Contrast checker → · Palette generator →

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