#DCD592#DCD592

#DCD592 is a very light, moderate yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.087 H 103.0°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#DCD592
RGBrgb(220, 213, 146)
HSLhsl(54, 51%, 72%)
HSVhsv(54, 34%, 86%)
CMYKcmyk(0%, 3.2%, 33.6%, 13.7%)
CIE-LABlab(84.42, -7.54, 34.04)
CIE-LCHlch(84.42, 34.87, 102.50°)
OKLaboklab(86.31% -0.0194 0.0844)
OKLCHoklch(86.31% 0.087 103)
XYZxyz(58.4984, 64.8808, 36.6302)
Luminance0.6488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD592 #9299DC
analogous
#DCB092 #DCD592 #BEDC92
triadic
#DCD592 #92DCD5 #D592DC
tetradic
#DCD592 #92DCB0 #9299DC #DC92BE
square
#DCD592 #92DCB0 #9299DC #DC92BE
split-complementary
#DCD592 #92BEDC #B092DC
monochromatic
#B8AD3B #CDC364 #DCD592 #EBE7C0 #F8F6E8

Accessibility & contrast

On white

1.50
#DCD592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#DCD592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD592
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD592#FFFFFF#000000##000000
##DCD5921.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D08D
Deuteranopia (green-blind)
#E3D495
Tritanopia (blue-blind)
#E7CCC4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd592;
/* rgb */ color: rgb(220, 213, 146);
/* oklch */ color: oklch(86.3% 0.087 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8e1b2',
    500: '#dcd592',
    950: '#000000',
  },
}
SCSS
$custom: #dcd592;
$custom-light: #e8e1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd592",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 146
  },
  "hsl": {
    "h": 54.324,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86307,
    "c": 0.08662,
    "h": 103
  },
  "luminance": 0.64879
}

Semantic roles & 50–950 ramp

primary
#DCD592
secondary
#5F67B4
accent
#35BF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD592

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

Preview Lab → · Contrast checker → · Palette generator →

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