#DCD28B#DCD28B

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

Color values

HEX#DCD28B
RGBrgb(220, 210, 139)
HSLhsl(53, 54%, 70%)
HSVhsv(53, 37%, 86%)
CMYKcmyk(0%, 4.5%, 36.8%, 13.7%)
CIE-LABlab(83.53, -6.83, 36.46)
CIE-LCHlch(83.53, 37.09, 100.61°)
OKLaboklab(85.57% -0.0178 0.0898)
OKLCHoklch(85.57% 0.092 101.2)
XYZxyz(57.2229, 63.1744, 33.6006)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD28B #8B95DC
analogous
#DCAA8B #DCD28B #BDDC8B
triadic
#DCD28B #8BDCD2 #D28BDC
tetradic
#DCD28B #8BDCAA #8B95DC #DC8BBD
square
#DCD28B #8BDCAA #8B95DC #DC8BBD
split-complementary
#DCD28B #8BBDDC #AA8BDC
monochromatic
#B6A637 #CEC05C #DCD28B #EAE4BA #F8F6E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD28B#FFFFFF#000000##000000
##DCD28B1.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)
#DFCE86
Deuteranopia (green-blind)
#E2D28E
Tritanopia (blue-blind)
#E7C9C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd28b;
/* rgb */ color: rgb(220, 210, 139);
/* oklch */ color: oklch(85.6% 0.092 101.2);
Tailwind
colors: {
  custom: {
    50: '#e8dfad',
    500: '#dcd28b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd28b;
$custom-light: #e8dfad;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd28b",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 139
  },
  "hsl": {
    "h": 52.593,
    "s": 53.642,
    "l": 70.392
  },
  "oklch": {
    "l": 0.85568,
    "c": 0.09152,
    "h": 101.2
  },
  "luminance": 0.63173
}

Semantic roles & 50–950 ramp

primary
#DCD28B
secondary
#5863B3
accent
#38C124
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD28B

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

Preview Lab → · Contrast checker → · Palette generator →

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