#DCD28D#DCD28D

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

Color values

HEX#DCD28D
RGBrgb(220, 210, 141)
HSLhsl(52, 53%, 71%)
HSVhsv(52, 36%, 86%)
CMYKcmyk(0%, 4.5%, 35.9%, 13.7%)
CIE-LABlab(83.56, -6.60, 35.48)
CIE-LCHlch(83.56, 36.09, 100.54°)
OKLaboklab(85.6% -0.017 0.0876)
OKLCHoklch(85.6% 0.089 101)
XYZxyz(57.3703, 63.2334, 34.3773)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD28D #8D97DC
analogous
#DCAA8D #DCD28D #BEDC8D
triadic
#DCD28D #8DDCD2 #D28DDC
tetradic
#DCD28D #8DDCAA #8D97DC #DC8DBE
square
#DCD28D #8DDCAA #8D97DC #DC8DBE
split-complementary
#DCD28D #8DBEDC #AA8DDC
monochromatic
#B7A738 #CEC05E #DCD28D #EAE4BC #F8F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD28D#FFFFFF#000000##000000
##DCD28D1.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)
#DECE88
Deuteranopia (green-blind)
#E2D290
Tritanopia (blue-blind)
#E7C9C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd28d;
/* rgb */ color: rgb(220, 210, 141);
/* oklch */ color: oklch(85.6% 0.089 101.0);
Tailwind
colors: {
  custom: {
    50: '#e8dfaf',
    500: '#dcd28d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd28d;
$custom-light: #e8dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd28d",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 141
  },
  "hsl": {
    "h": 52.405,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85602,
    "c": 0.08922,
    "h": 101
  },
  "luminance": 0.63232
}

Semantic roles & 50–950 ramp

primary
#DCD28D
secondary
#5A65B3
accent
#39C025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD28D

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

Preview Lab → · Contrast checker → · Palette generator →

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