#DCD28C#DCD28C

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

Color values

HEX#DCD28C
RGBrgb(220, 210, 140)
HSLhsl(53, 53%, 71%)
HSVhsv(53, 36%, 86%)
CMYKcmyk(0%, 4.5%, 36.4%, 13.7%)
CIE-LABlab(83.55, -6.72, 35.97)
CIE-LCHlch(83.55, 36.59, 100.58°)
OKLaboklab(85.59% -0.0174 0.0887)
OKLCHoklch(85.59% 0.09 101.1)
XYZxyz(57.2963, 63.2038, 33.9872)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD28C #8C96DC
analogous
#DCAA8C #DCD28C #BEDC8C
triadic
#DCD28C #8CDCD2 #D28CDC
tetradic
#DCD28C #8CDCAA #8C96DC #DC8CBE
square
#DCD28C #8CDCAA #8C96DC #DC8CBE
split-complementary
#DCD28C #8CBEDC #AA8CDC
monochromatic
#B6A637 #CEC05D #DCD28C #EAE4BB #F8F6E8

Accessibility & contrast

On white

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

On black

13.64
#DCD28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD28C
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD28C#FFFFFF#000000##000000
##DCD28C1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE87
Deuteranopia (green-blind)
#E2D28F
Tritanopia (blue-blind)
#E7C9C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd28c;
/* rgb */ color: rgb(220, 210, 140);
/* oklch */ color: oklch(85.6% 0.090 101.1);
Tailwind
colors: {
  custom: {
    50: '#e8dfae',
    500: '#dcd28c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd28c;
$custom-light: #e8dfae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd28c",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 140
  },
  "hsl": {
    "h": 52.5,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.85585,
    "c": 0.09037,
    "h": 101.1
  },
  "luminance": 0.63202
}

Semantic roles & 50–950 ramp

primary
#DCD28C
secondary
#5964B3
accent
#38C125
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD28C

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

Preview Lab → · Contrast checker → · Palette generator →

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