#DCD37B#DCD37B

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

Color values

HEX#DCD37B
RGBrgb(220, 211, 123)
HSLhsl(54, 58%, 67%)
HSVhsv(54, 44%, 86%)
CMYKcmyk(0%, 4.1%, 44.1%, 13.7%)
CIE-LABlab(83.57, -9.04, 44.53)
CIE-LCHlch(83.57, 45.44, 101.47°)
OKLaboklab(85.52% -0.0254 0.1073)
OKLCHoklch(85.52% 0.11 103.3)
XYZxyz(56.3859, 63.2358, 27.9706)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD37B #7B84DC
analogous
#DCA37B #DCD37B #B5DC7B
triadic
#DCD37B #7BDCD3 #D37BDC
tetradic
#DCD37B #7BDCA3 #7B84DC #DC7BB5
square
#DCD37B #7BDCA3 #7B84DC #DC7BB5
split-complementary
#DCD37B #7BB5DC #A37BDC
monochromatic
#AEA22E #CFC34B #DCD37B #E9E3AB #F6F3DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD37B#FFFFFF#000000##000000
##DCD37B1.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)
#E1CD74
Deuteranopia (green-blind)
#E4D27F
Tritanopia (blue-blind)
#E9C8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd37b;
/* rgb */ color: rgb(220, 211, 123);
/* oklch */ color: oklch(85.5% 0.110 103.3);
Tailwind
colors: {
  custom: {
    50: '#e8e0a3',
    500: '#dcd37b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd37b;
$custom-light: #e8e0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd37b",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 123
  },
  "hsl": {
    "h": 54.433,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85519,
    "c": 0.11029,
    "h": 103.3
  },
  "luminance": 0.63234
}

Semantic roles & 50–950 ramp

primary
#DCD37B
secondary
#4B54B1
accent
#2FC620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD37B

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

Preview Lab → · Contrast checker → · Palette generator →

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