#DCD37E#DCD37E

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

Color values

HEX#DCD37E
RGBrgb(220, 211, 126)
HSLhsl(54, 57%, 68%)
HSVhsv(54, 43%, 86%)
CMYKcmyk(0%, 4.1%, 42.7%, 13.7%)
CIE-LABlab(83.61, -8.74, 43.09)
CIE-LCHlch(83.61, 43.97, 101.46°)
OKLaboklab(85.56% -0.0243 0.1043)
OKLCHoklch(85.56% 0.107 103.1)
XYZxyz(56.5765, 63.3121, 28.9748)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD37E #7E87DC
analogous
#DCA47E #DCD37E #B6DC7E
triadic
#DCD37E #7EDCD3 #D37EDC
tetradic
#DCD37E #7EDCA4 #7E87DC #DC7EB6
square
#DCD37E #7EDCA4 #7E87DC #DC7EB6
split-complementary
#DCD37E #7EB6DC #A47EDC
monochromatic
#B0A430 #CFC34E #DCD37E #E9E3AE #F6F4DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD37E#FFFFFF#000000##000000
##DCD37E1.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)
#E1CE77
Deuteranopia (green-blind)
#E4D382
Tritanopia (blue-blind)
#E9C9BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd37e;
/* rgb */ color: rgb(220, 211, 126);
/* oklch */ color: oklch(85.6% 0.107 103.1);
Tailwind
colors: {
  custom: {
    50: '#e8e0a5',
    500: '#dcd37e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd37e;
$custom-light: #e8e0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd37e",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 126
  },
  "hsl": {
    "h": 54.255,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85564,
    "c": 0.10707,
    "h": 103.1
  },
  "luminance": 0.63311
}

Semantic roles & 50–950 ramp

primary
#DCD37E
secondary
#4C56B2
accent
#30C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD37E

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

Preview Lab → · Contrast checker → · Palette generator →

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