#DCD598#DCD598

#DCD598 is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.079 H 102.4°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#DCD598
RGBrgb(220, 213, 152)
HSLhsl(54, 49%, 73%)
HSVhsv(54, 31%, 86%)
CMYKcmyk(0%, 3.2%, 30.9%, 13.7%)
CIE-LABlab(84.52, -6.81, 31.09)
CIE-LCHlch(84.52, 31.83, 102.36°)
OKLaboklab(86.42% -0.017 0.0776)
OKLCHoklch(86.42% 0.079 102.4)
XYZxyz(58.9774, 65.0724, 39.1531)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD598 #989FDC
analogous
#DCB398 #DCD598 #C1DC98
triadic
#DCD598 #98DCD5 #D598DC
tetradic
#DCD598 #98DCB3 #989FDC #DC98C1
square
#DCD598 #98DCB3 #989FDC #DC98C1
split-complementary
#DCD598 #98C1DC #B398DC
monochromatic
#BAAE3F #CCC26A #DCD598 #ECE8C6 #F7F6E8

Accessibility & contrast

On white

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

On black

14.01
#DCD598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD598
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD598#FFFFFF#000000##000000
##DCD5981.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D194
Deuteranopia (green-blind)
#E2D59A
Tritanopia (blue-blind)
#E6CDC5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd598;
/* rgb */ color: rgb(220, 213, 152);
/* oklch */ color: oklch(86.4% 0.079 102.4);
Tailwind
colors: {
  custom: {
    50: '#e7e1b6',
    500: '#dcd598',
    950: '#000000',
  },
}
SCSS
$custom: #dcd598;
$custom-light: #e7e1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd598",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 152
  },
  "hsl": {
    "h": 53.824,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86417,
    "c": 0.07948,
    "h": 102.4
  },
  "luminance": 0.65071
}

Semantic roles & 50–950 ramp

primary
#DCD598
secondary
#646DB4
accent
#38BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD598

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

Preview Lab → · Contrast checker → · Palette generator →

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