#DCD07F#DCD07F

#DCD07F is a very light, moderate yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.103 H 100.9°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#DCD07F
RGBrgb(220, 208, 127)
HSLhsl(52, 57%, 68%)
HSVhsv(52, 42%, 86%)
CMYKcmyk(0%, 5.5%, 42.3%, 13.7%)
CIE-LABlab(82.84, -7.11, 41.63)
CIE-LCHlch(82.84, 42.23, 99.69°)
OKLaboklab(84.96% -0.0195 0.101)
OKLCHoklch(84.96% 0.103 100.9)
XYZxyz(55.9030, 61.8614, 29.0702)
Luminance0.6186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD07F #7F8BDC
analogous
#DCA17F #DCD07F #B9DC7F
triadic
#DCD07F #7FDCD0 #D07FDC
tetradic
#DCD07F #7FDCA1 #7F8BDC #DC7FB9
square
#DCD07F #7FDCA1 #7F8BDC #DC7FB9
split-complementary
#DCD07F #7FB9DC #A17FDC
monochromatic
#B0A030 #CFBE4F #DCD07F #E9E2AF #F6F3DF

Accessibility & contrast

On white

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

On black

13.37
#DCD07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD07F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD07F#FFFFFF#000000##000000
##DCD07F1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB79
Deuteranopia (green-blind)
#E2D182
Tritanopia (blue-blind)
#E9C6BC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd07f;
/* rgb */ color: rgb(220, 208, 127);
/* oklch */ color: oklch(85.0% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#e8dea5',
    500: '#dcd07f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd07f;
$custom-light: #e8dea5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd07f",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 127
  },
  "hsl": {
    "h": 52.258,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8496,
    "c": 0.10291,
    "h": 100.9
  },
  "luminance": 0.6186
}

Semantic roles & 50–950 ramp

primary
#DCD07F
secondary
#4D5AB2
accent
#36C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD07F

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

Preview Lab → · Contrast checker → · Palette generator →

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