#DCD37F#DCD37F

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

Color values

HEX#DCD37F
RGBrgb(220, 211, 127)
HSLhsl(54, 57%, 68%)
HSVhsv(54, 42%, 86%)
CMYKcmyk(0%, 4.1%, 42.3%, 13.7%)
CIE-LABlab(83.62, -8.64, 42.61)
CIE-LCHlch(83.62, 43.48, 101.46°)
OKLaboklab(85.58% -0.0239 0.1033)
OKLCHoklch(85.58% 0.106 103)
XYZxyz(56.6414, 63.3381, 29.3163)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD37F #7F88DC
analogous
#DCA57F #DCD37F #B6DC7F
triadic
#DCD37F #7FDCD3 #D37FDC
tetradic
#DCD37F #7FDCA5 #7F88DC #DC7FB6
square
#DCD37F #7FDCA5 #7F88DC #DC7FB6
split-complementary
#DCD37F #7FB6DC #A57FDC
monochromatic
#B0A430 #CFC24F #DCD37F #E9E4AF #F6F4DF

Accessibility & contrast

On white

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

On black

13.67
#DCD37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD37F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD37F#FFFFFF#000000##000000
##DCD37F1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE78
Deuteranopia (green-blind)
#E4D383
Tritanopia (blue-blind)
#E8C9BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd37f;
/* rgb */ color: rgb(220, 211, 127);
/* oklch */ color: oklch(85.6% 0.106 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8e0a5',
    500: '#dcd37f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd37f;
$custom-light: #e8e0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd37f",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 127
  },
  "hsl": {
    "h": 54.194,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85579,
    "c": 0.10599,
    "h": 103
  },
  "luminance": 0.63336
}

Semantic roles & 50–950 ramp

primary
#DCD37F
secondary
#4D57B2
accent
#31C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD37F

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

Preview Lab → · Contrast checker → · Palette generator →

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