#DCD37D#DCD37D

#DCD37D is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.5% C 0.108 H 103.2°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#DCD37D
RGBrgb(220, 211, 125)
HSLhsl(54, 58%, 68%)
HSVhsv(54, 43%, 86%)
CMYKcmyk(0%, 4.1%, 43.2%, 13.7%)
CIE-LABlab(83.59, -8.84, 43.57)
CIE-LCHlch(83.59, 44.46, 101.47°)
OKLaboklab(85.55% -0.0247 0.1053)
OKLCHoklch(85.55% 0.108 103.2)
XYZxyz(56.5123, 63.2864, 28.6367)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD37D #7D86DC
analogous
#DCA47D #DCD37D #B5DC7D
triadic
#DCD37D #7DDCD3 #D37DDC
tetradic
#DCD37D #7DDCA4 #7D86DC #DC7DB5
square
#DCD37D #7DDCA4 #7D86DC #DC7DB5
split-complementary
#DCD37D #7DB5DC #A47DDC
monochromatic
#AFA32F #CFC34D #DCD37D #E9E3AD #F6F4DD

Accessibility & contrast

On white

1.54
#DCD37D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#DCD37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD37D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD37D#FFFFFF#000000##000000
##DCD37D1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE76
Deuteranopia (green-blind)
#E4D381
Tritanopia (blue-blind)
#E9C8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd37d;
/* rgb */ color: rgb(220, 211, 125);
/* oklch */ color: oklch(85.5% 0.108 103.2);
Tailwind
colors: {
  custom: {
    50: '#e8e0a4',
    500: '#dcd37d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd37d;
$custom-light: #e8e0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd37d",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 125
  },
  "hsl": {
    "h": 54.316,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85549,
    "c": 0.10815,
    "h": 103.2
  },
  "luminance": 0.63285
}

Semantic roles & 50–950 ramp

primary
#DCD37D
secondary
#4C55B2
accent
#30C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD37D

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

Preview Lab → · Contrast checker → · Palette generator →

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