#DCD37C#DCD37C

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

Color values

HEX#DCD37C
RGBrgb(220, 211, 124)
HSLhsl(54, 58%, 67%)
HSVhsv(54, 44%, 86%)
CMYKcmyk(0%, 4.1%, 43.6%, 13.7%)
CIE-LABlab(83.58, -8.94, 44.05)
CIE-LCHlch(83.58, 44.95, 101.47°)
OKLaboklab(85.53% -0.025 0.1063)
OKLCHoklch(85.53% 0.109 103.3)
XYZxyz(56.4488, 63.2610, 28.3019)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD37C #7C85DC
analogous
#DCA37C #DCD37C #B5DC7C
triadic
#DCD37C #7CDCD3 #D37CDC
tetradic
#DCD37C #7CDCA3 #7C85DC #DC7CB5
square
#DCD37C #7CDCA3 #7C85DC #DC7CB5
split-complementary
#DCD37C #7CB5DC #A37CDC
monochromatic
#AFA32F #CFC34C #DCD37C #E9E3AC #F6F3DD

Accessibility & contrast

On white

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

On black

13.65
#DCD37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD37C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD37C#FFFFFF#000000##000000
##DCD37C1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd37c;
/* rgb */ color: rgb(220, 211, 124);
/* oklch */ color: oklch(85.5% 0.109 103.3);
Tailwind
colors: {
  custom: {
    50: '#e8e0a3',
    500: '#dcd37c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd37c;
$custom-light: #e8e0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd37c",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 124
  },
  "hsl": {
    "h": 54.375,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85534,
    "c": 0.10922,
    "h": 103.3
  },
  "luminance": 0.63259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD37C

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

Preview Lab → · Contrast checker → · Palette generator →

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