#DCD291#DCD291

#DCD291 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.085 H 100.5°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DCD291
RGBrgb(220, 210, 145)
HSLhsl(52, 52%, 72%)
HSVhsv(52, 34%, 86%)
CMYKcmyk(0%, 4.5%, 34.1%, 13.7%)
CIE-LABlab(83.63, -6.13, 33.51)
CIE-LCHlch(83.63, 34.07, 100.37°)
OKLaboklab(85.67% -0.0154 0.0831)
OKLCHoklch(85.67% 0.085 100.5)
XYZxyz(57.6734, 63.3546, 35.9731)
Luminance0.6335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD291 #919BDC
analogous
#DCAD91 #DCD291 #C1DC91
triadic
#DCD291 #91DCD2 #D291DC
tetradic
#DCD291 #91DCAD #919BDC #DC91C1
square
#DCD291 #91DCAD #919BDC #DC91C1
split-complementary
#DCD291 #91C1DC #AD91DC
monochromatic
#B8A73B #CDBF63 #DCD291 #EBE5BF #F8F6E8

Accessibility & contrast

On white

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

On black

13.67
#DCD291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD291
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD291#FFFFFF#000000##000000
##DCD2911.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE8C
Deuteranopia (green-blind)
#E1D293
Tritanopia (blue-blind)
#E7C9C1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd291;
/* rgb */ color: rgb(220, 210, 145);
/* oklch */ color: oklch(85.7% 0.085 100.5);
Tailwind
colors: {
  custom: {
    50: '#e8dfb2',
    500: '#dcd291',
    950: '#000000',
  },
}
SCSS
$custom: #dcd291;
$custom-light: #e8dfb2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd291",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 145
  },
  "hsl": {
    "h": 52,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85673,
    "c": 0.08455,
    "h": 100.5
  },
  "luminance": 0.63353
}

Semantic roles & 50–950 ramp

primary
#DCD291
secondary
#5E69B3
accent
#3BBF26
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161511
muted
#848481

Preview Lab

Preview with #DCD291

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

Preview Lab → · Contrast checker → · Palette generator →

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