#DCD790#DCD790

#DCD790 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.091 H 104.7°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#DCD790
RGBrgb(220, 215, 144)
HSLhsl(56, 52%, 71%)
HSVhsv(56, 35%, 86%)
CMYKcmyk(0%, 2.3%, 34.5%, 13.7%)
CIE-LABlab(84.91, -8.80, 35.70)
CIE-LCHlch(84.91, 36.77, 103.84°)
OKLaboklab(86.68% -0.0231 0.0882)
OKLCHoklch(86.68% 0.091 104.7)
XYZxyz(58.8503, 65.8314, 35.9868)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD790 #9095DC
analogous
#DCB190 #DCD790 #BBDC90
triadic
#DCD790 #90DCD7 #D790DC
tetradic
#DCD790 #90DCB1 #9095DC #DC90BB
square
#DCD790 #90DCB1 #9095DC #DC90BB
split-complementary
#DCD790 #90BBDC #B190DC
monochromatic
#B8AF3A #CDC661 #DCD790 #EBE8BF #F8F7E8

Accessibility & contrast

On white

1.48
#DCD790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#DCD790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD790
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD790#FFFFFF#000000##000000
##DCD7901.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D28B
Deuteranopia (green-blind)
#E5D693
Tritanopia (blue-blind)
#E7CEC5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd790;
/* rgb */ color: rgb(220, 215, 144);
/* oklch */ color: oklch(86.7% 0.091 104.7);
Tailwind
colors: {
  custom: {
    50: '#e8e3b1',
    500: '#dcd790',
    950: '#000000',
  },
}
SCSS
$custom: #dcd790;
$custom-light: #e8e3b1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd790",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 144
  },
  "hsl": {
    "h": 56.053,
    "s": 52.055,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86683,
    "c": 0.09119,
    "h": 104.7
  },
  "luminance": 0.6583
}

Semantic roles & 50–950 ramp

primary
#DCD790
secondary
#5D62B3
accent
#30BF26
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161511
muted
#848481

Preview Lab

Preview with #DCD790

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

Preview Lab → · Contrast checker → · Palette generator →

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