#DCD28E#DCD28E

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

Color values

HEX#DCD28E
RGBrgb(220, 210, 142)
HSLhsl(52, 53%, 71%)
HSVhsv(52, 35%, 86%)
CMYKcmyk(0%, 4.5%, 35.5%, 13.7%)
CIE-LABlab(83.58, -6.49, 34.99)
CIE-LCHlch(83.58, 35.58, 100.50°)
OKLaboklab(85.62% -0.0166 0.0865)
OKLCHoklch(85.62% 0.088 100.9)
XYZxyz(57.4451, 63.2633, 34.7709)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD28E #8E98DC
analogous
#DCAB8E #DCD28E #BFDC8E
triadic
#DCD28E #8EDCD2 #D28EDC
tetradic
#DCD28E #8EDCAB #8E98DC #DC8EBF
square
#DCD28E #8EDCAB #8E98DC #DC8EBF
split-complementary
#DCD28E #8EBFDC #AB8EDC
monochromatic
#B7A739 #CEBF5F #DCD28E #EAE5BD #F8F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD28E#FFFFFF#000000##000000
##DCD28E1.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)
#DECE89
Deuteranopia (green-blind)
#E1D291
Tritanopia (blue-blind)
#E7C9C1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd28e;
/* rgb */ color: rgb(220, 210, 142);
/* oklch */ color: oklch(85.6% 0.088 100.9);
Tailwind
colors: {
  custom: {
    50: '#e8dfaf',
    500: '#dcd28e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd28e;
$custom-light: #e8dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd28e",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 142
  },
  "hsl": {
    "h": 52.308,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8562,
    "c": 0.08805,
    "h": 100.9
  },
  "luminance": 0.63262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD28E

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

Preview Lab → · Contrast checker → · Palette generator →

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