#DCD28A#DCD28A

#DCD28A is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.093 H 101.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#DCD28A
RGBrgb(220, 210, 138)
HSLhsl(53, 54%, 70%)
HSVhsv(53, 37%, 86%)
CMYKcmyk(0%, 4.5%, 37.3%, 13.7%)
CIE-LABlab(83.52, -6.94, 36.95)
CIE-LCHlch(83.52, 37.59, 100.64°)
OKLaboklab(85.55% -0.0182 0.0909)
OKLCHoklch(85.55% 0.093 101.3)
XYZxyz(57.1501, 63.1453, 33.2176)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD28A #8A94DC
analogous
#DCA98A #DCD28A #BDDC8A
triadic
#DCD28A #8ADCD2 #D28ADC
tetradic
#DCD28A #8ADCA9 #8A94DC #DC8ABD
square
#DCD28A #8ADCA9 #8A94DC #DC8ABD
split-complementary
#DCD28A #8ABDDC #A98ADC
monochromatic
#B5A636 #CEC05B #DCD28A #EAE4B9 #F8F6E7

Accessibility & contrast

On white

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

On black

13.63
#DCD28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD28A
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD28A#FFFFFF#000000##000000
##DCD28A1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE85
Deuteranopia (green-blind)
#E2D28D
Tritanopia (blue-blind)
#E8C9C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd28a;
/* rgb */ color: rgb(220, 210, 138);
/* oklch */ color: oklch(85.5% 0.093 101.3);
Tailwind
colors: {
  custom: {
    50: '#e8dfad',
    500: '#dcd28a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd28a;
$custom-light: #e8dfad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd28a",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 138
  },
  "hsl": {
    "h": 52.683,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8555,
    "c": 0.09266,
    "h": 101.3
  },
  "luminance": 0.63144
}

Semantic roles & 50–950 ramp

primary
#DCD28A
secondary
#5762B3
accent
#37C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD28A

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

Preview Lab → · Contrast checker → · Palette generator →

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